LinHES Forums http://forum.linhes.org/ |
|
Firewire on boot - Caution: n00b ahead http://forum.linhes.org/viewtopic.php?f=14&t=3310 |
Page 1 of 1 |
Author: | brianmat [ Sun Jan 23, 2005 1:30 pm ] |
Post subject: | Firewire on boot - Caution: n00b ahead |
Ok, I have an external firewire box where I plan to start off using LVM with 2 250GB drives. I plan on building a larger array later, but for now, I am using a single box to make sure all of my configurations are correct. I have followed the Knoppmyth LVM Wiki and everything works pretty well except when I reboot. I need the firewire drives to be located on boot and right now I can do that manually with : root@htpc:~ # modprobe ohci1394 The following script is found at http://www.garloff.de/kurt/linux/scsidev/ root@htpc:~ # ./rescan-scsi-bus.sh Host adapter 0 (ide-scsi) found. Host adapter 1 (sbp2_0) found. Scanning hosts 0 1 channels 0 for SCSI target IDs 0 1 2 3 4 5 6 7 , LUNs 0 Scanning for device 0 0 0 0 ... OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: SAMSUNG Model: CDRW/DVD SM-332B Rev: T410 Type: CD-ROM ANSI SCSI revision: 02 Scanning for device 1 0 0 0 ... NEW: Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: Maxtor 6 Model: B250R0 Rev: Type: Direct-Access ANSI SCSI revision: 06 1 new device(s) found. 0 device(s) removed. root@htpc:~ # vgscan vgscan -- reading all physical volumes (this may take a while...) vgscan -- found inactive volume group "vg" vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created vgscan -- WARNING: This program does not do a VGDA backup of your volume group root@htpc:~ # vgchange -a y vgchange -- volume group "vg" successfully activated root@htpc:~ # mount /dev/vg/myth /myth Then all is good. I can see everything on the drive and it works like a champ. I basically need to scan for the firewire drive when I boot so I don't have to do all of this manually. I am sure the steps are pretty simple to do this, but I want to make sure I do everything correctly since my new box is running perfectly - and this is the perfect time for me to screw everything up. I assume I need to update /etc/modules, but I thought update-modules would do that for me already after I did the modprobe. I'm still running through Google, but I would still like to know the best way under KnoppMyth to do this. Thanks in advance. |
Author: | cesman [ Sun Jan 23, 2005 11:31 pm ] |
Post subject: | |
Code: echo ohci1394 >> /etc/modules
|
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |