Click to See Complete Forum and Search --> : harddrive names wrong way round


tux186
07-18-2007, 07:04 PM
hi
i am using opensuse 10.2 i messed up and repaired the system as you can see from below my two harddrivse are on sda and sdb also when my two cd-dvd drives are mounted they are on hda and hdb i am quite happy with this but would it be a problem in the future with any installs or updates would love some help on this


This a copy of fstab
/dev/sdb7 / ext3 acl,user_xattr 1 1
/dev/sdb8 /home ext3 acl,user_xattr 1 2
/dev/sda2 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdb1 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdb5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sdb6 /data1 auto noauto,user 0 0
usbfs /proc/bus/usb usbfs noauto 0 0


ps does the fstab look ok

je_fro
07-18-2007, 10:21 PM
what's important about the order in fstab is to make sure mountpoints exist before trying to mount a partition there...
so while this might look odd
/dev/sdb7 / ext3 acl,user_xattr 1 1

it's correct because you need / mounted before /home and so on can be mounted...
is that what you're asking?

tux186
07-19-2007, 02:41 PM
the main reason i posted is the hda and hdb are now my cd-dvd drives and my harddrive is sda and sdb is this a problem? every thing is working ok .The fstab i included as info

je_fro
07-19-2007, 03:03 PM
Yeah, looks like you're using a recent kernel with the new pata drivers. All is well :)

tux186
07-19-2007, 06:03 PM
thanks je_fro

acid45
07-23-2007, 02:28 AM
My first guess is that you have your CD devices plugged into the primary (IDE0) master and slave.
hda = primary master
hdb = primary slave
hdc = secondary master
hdd = secondary master
etc., etc.

_most_ systems will only have hda, hdb, hdc, hdd. People with raid cards etc, will have additional hdX to use the channels on said raid cards. I used to have an ISA ATA raid card :P

My thoughts on the HD -> SD change...
Back when SATA was new in linux, they were detected as HD, just hacked into place. The new drivers have them marked properly, since SATA disks can be used on SCSI subsystems a la SCSI compatibility (SAS), which will allow regular SATA disks to be plugged into SAS ports. I'm not 100% sure how this is done, but I'm pretty sure that's the reason for the change from HD for SATA to SD for SATA...or SD makes more sense 'serial attached Scsi Disk'? ..or just Sata Disk.

Since linux is server oriented, for the most part. It kinda makes sense for the name change. SATA is supposed to improve home computing performance as well as, proven with the advent of the newer SATA systems, significantly lower the costs of entry level servers. The reason it would make sense is if someone has older/higher-end SCSI servers for one production and lower-end/cheaper SATA servers it would be a pain to remember which one has HD and which one has SD...

That's my two cents...for what it's worth.

tux186
07-24-2007, 07:46 PM
thanks acid45
love this site for people like yourself and je_fro discovered linux last year its tips like the ones i got here help to fill in the big picture on how computers work
many thanks
tux186