problem with accessing the drives
Hi,
I have a Solaris 10/SPARC installed on an R420 4CPU 4GB RAM box. I have two build in-disks on controller 0 and a few of them in an array. Only one of them is mounted, rest is off line.
When I try to fdisk them, there's no /dev/rdsk/c0t0d0p0 or any devices with *p0 suffix. This is a fresh install of an out of the box OS system (Interned downloaded) + Oracle 10g database.
Mount gives:
/ on /dev/dsk/c0t0d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=80001 0 on Fri May 11 15:46:42 2007
But it seems to be no corresponding raw devices (this is true for any other disk I have in the system).
# ls /dev/rdsk/c0t0d0*
/dev/rdsk/c0t0d0s0 /dev/rdsk/c0t0d0s2 /dev/rdsk/c0t0d0s4 /dev/rdsk/c0t0d0s6
/dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3 /dev/rdsk/c0t0d0s5 /dev/rdsk/c0t0d0s7
There's only a globalzone used for security:
# /sbin/zonename
global
In addition, Solaris management console cannot display any raw disk drives (only slices).
I access the file using ssh on regular account and su - (don't know if that matters).
Could anybody tell me what I need to do in order access the drives (need to fdisk them and re-partition)?
[1246 byte] By [
kslaa] at [2007-11-27 4:06:51]

# 1
> Hi,
>
> I have a Solaris 10/SPARC installed on an R420 4CPU
> 4GB RAM box.
Is that a sparc machine?
> When I try to fdisk them, there's no
> /dev/rdsk/c0t0d0p0 or any devices with *p0 suffix.
If it is a sparc machine, you never get *p* suffixes - just
slices. s2 is represents the whole of the disk.
> But it seems to be no corresponding raw devices (this
> is true for any other disk I have in the system).
>
> # ls /dev/rdsk/c0t0d0*
> /dev/rdsk/c0t0d0s0 /dev/rdsk/c0t0d0s2
> /dev/rdsk/c0t0d0s4 /dev/rdsk/c0t0d0s6
> dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3
> /dev/rdsk/c0t0d0s5 /dev/rdsk/c0t0d0s7
I'm confused, Your listing above does show raw
devices. What is that you were expecting to see?
I'm probably misunderstanding you.
> There's only a globalzone used for security:
>
> # /sbin/zonename
> global
# zonename
tells you what zone you're in at the moment.
# zoneadm list -icv
tels you about all of the zones.
But if you are in the global zone, you should see all the disks.
> In addition, Solaris management console cannot
> display any raw disk drives (only slices).
In sparc, slice 2 represents the whole of the disk. Look at the
sizes reported in smc.
> I access the file using ssh on regular account and su
> - (don't know if that matters).
It doesn't matter -- one possibility can be eliminated! :->
> Could anybody tell me what I need to do in order
> access the drives (need to fdisk them and
> re-partition)?
If it is a sparc system, don;t use 'fdisk'. Use 'format'.
And look up some docs & examples before doing so,
or it could end in tears.
Please tell me if I have misunderstood.
cheers.