Dear Solaris Experts,
I am a bit confused about OpenSolaris Hard Drive device mapping. On RedHat Linux based system, an IDE on first channel master drive is mapped as /dev/hda, first channel slave drive will be /dev/hdb, etc.
For (Open)Solaris systems I found it as /dev/rdsk/c3d0p0 :
myself@myopensolaris:/dev# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c3d0 <DEFAULT cyl 1539 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
myself@myopensolaris:/dev/rdsk# prtvtoc ./c3d0p0
- ./c3d0p0 partition map
* - Dimensions:
-
512 bytes/sector
-
63 sectors/track
-
255 tracks/cylinder
- 16065 sectors/cylinder
- 1541 cylinders
- 1539 accessible cylinders
* - Flags:
- 1: unmountable
- 10: read-only
* - Unallocated space:
- First Sector Last
- Sector Count Sector
-
0 16065 16064
*
-
First Sector Last
- Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 16065 24691905 24707969
2 5 01 0 24724035 24724034
8 1 01 0 16065 16064
note :
This printout is generated on IBM Thinkpad T42 with 40GB IDE HDD (NOT SATA) on the second partition.
My questions are :
-
Is there any simple hard drive device mapping rules like Redhat/Linux systems ?
-
How can I identify slave hard drive in the first IDE Channels ? On Redhat/Linux, this drive will be mapped as /dev/hdb.
-
How about SATA drives ? In Linux this drive is mapped as
/dev/sda, /dev/sdb, etc. Same thing also for SCSI drives. -
What is the meaning of /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0 ?
-
Is there any urls that explains the device mapping in a practical ways for Linux Adminstrators ?
-
How about IDE CD-ROM mapping?
-
How to format the correct partition using newfs (UFS) or create FS using ZFS ? In linux it is very simple.
Need more enlightement on this new environment.
For answers, any web URLs is more than enough for me to read and learn. I already asked uncle Google but still could not hit the correct page.
Many thanks in advance.
regards,
Zepiroth Hong.