View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jan 23, 2005 1:30 pm 
Offline
Joined: Wed Nov 12, 2003 11:23 am
Posts: 33
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 23, 2005 11:31 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Code:
echo ohci1394 >> /etc/modules

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu