From: Gordan B. <go...@bo...> - 2007-10-11 08:10:56
|
On Thu, 11 Oct 2007, Marc Grimme wrote: >> I have iscsi loading and letting me see the relevant shares. I can mount >> them. But how do I then remount root to a GFS share on iSCSI? >> >> I tried: >> >> mount -t gfs -o lockproto=lock_nolock,remount /dev/sdb2 / > > Normally the bootimage itself should take over the mounting. You should not > bother with it. I don't know if you can easily remout a gfs with changing the > lockproto. So as you don't get any errors and it didn't do anything it does > not work. > > But again, normally the initrd mounts the gfs filesystem you specified within > you cluster.conf. We didn't test with raw-devices we are always using > LVM/CLVM lvs for doing the mount. I'm not convinced the problem is in the lack of (C)LVM. > So when the initrd gets the iscsi disk as scsi-disk all the rest should be > done automatically. Where is the template startup script for the initrd? A few things require a bit of manual intervention, because for some reason iscsid doesn't trigger loading of iscsi_tcp module which is required _before_ iscsid loads. And, obviously, I'd need to make all this happen before the normal boot process tries to mount the root disk. Or will specifying the iscsi stuff in cluster.conf make all this work? Given that the iscsi components weren't in the standard initrd, I'm not too convinced this will work (although there's a distinct possibility that this is totally unrelated and irrelevant in this case). > To test it switch on com-step and break where scsi is detected. Setup you > iscsi stuff and exit and let the initrd init process do the rest. > That should work. OK. Where is the initrd init script? Gordan |