Jump to content

Sata hard drives


lynchmob
 Share

Recommended Posts

My 2006.05 install is on /dev/hda but I have 2 sata drives for storage that were available on my previous install (2005le). Problem is I dont have access to them now. In MCC>Hardware , only hda is listed but it does list the vt6420 sata raid controller. When I do a dmesg > textfile, the part pertaining to scsi says:

SCSI subsystem initialized
libata version 1.11 loaded.
sata_via version 1.1
ACPI: PCI Interrupt 0000:00:0f.0[B] -> Link [ALKA] -> GSI 20 (level, low) -> IRQ 20
PCI: Via IRQ fixup for 0000:00:0f.0, from 11 to 4
sata_via(0000:00:0f.0): routed to hard irq line 4
ata1: SATA max UDMA/133 cmd 0xB400 ctl 0xB802 bmdma 0xC400 irq 20
ata2: SATA max UDMA/133 cmd 0xBC00 ctl 0xC002 bmdma 0xC408 irq 20
usb 1-2: new full speed USB device using uhci_hcd and address 3
ata1: dev 0 cfg 49:2f00 82:346b 83:7f21 84:4003 85:3469 86:3c01 87:4003 88:407f
ata1: dev 0 ATA, max UDMA/133, 72303840 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : sata_via
ata2: dev 0 cfg 49:2f00 82:346b 83:7f21 84:4003 85:3469 86:3c01 87:4003 88:407f
ata2: dev 0 ATA, max UDMA/133, 72303840 sectors: lba48
ata2: dev 0 configured for UDMA/133
scsi1 : sata_via
 Vendor: ATA       Model: WDC WD360GD-00FN  Rev: 35.0
 Type:   Direct-Access                      ANSI SCSI revision: 05
 Vendor: ATA       Model: WDC WD360GD-00FN  Rev: 35.0
 Type:   Direct-Access                      ANSI SCSI revision: 05

So they are recognized by the kernel and a lsmod shows:

sata_via                5700  0
libata                 42116  1 sata_via
scsi_mod              121096  2 sg,libata

Taking a look in /dev/scsi shows two listings:

/dev/scsi/host0/bus0/target0/lun0

/dev/scsi/host1/bus0/target0/lun0

So is this just a matter of doing:

ln -s  /dev/scsi/host0/bus0/target0/lun0  /dev/sda1
ln -s  /dev/scsi/host1/bus0/target0/lun0  /dev/sdb1

and then putting entries in /etc/fstab? Or am I missing somthing.

TIA

lynchmob

Link to comment
Share on other sites

I got them working but there's got to be a better solution than adding this:

/etc/init.d/harddrake restart
mknod /dev/sda1 b 8 1
mknod /dev/sdb1 b 16 1
mount -t reiserfs /dev/sda1 /mnt/data1
mount -t reiserfs /dev/sdb1 /mnt/data2

to /etc/rc.d/rc.local.

lynchmob

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...