From: Marc G. <gr...@at...> - 2007-10-11 08:02:37
|
On Thursday 11 October 2007 09:48:34 Gordan Bobic wrote: > Guys, > > 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. So when the initrd gets the iscsi disk as scsi-disk all the rest should be done automatically. 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. Regards Marc. > > But this doesn't seem to do anything. No errors get reported, it just > doesn't do it. > > Any ideas? Should this work? Or do I have to mount the new root somewhere > else and then chroot into it and fire up init - or something like that? > > Gordan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Open-sharedroot-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/open-sharedroot-devel -- Gruss / Regards, Marc Grimme Phone: +49-89 452 3538-14 http://www.atix.de/ http://www.open-sharedroot.org/ ** Visit us at LinuxWorld Conference & Expo 31.10. - 01.11.2007 in Jaarbeurs Utrecht - The Netherlands ATIX stand: Hall 9 / B 005 ** ATIX Informationstechnologie und Consulting AG Einsteinstr. 10 85716 Unterschleissheim Deutschland/Germany Phone: +49-89 452 3538-0 Fax: +49-89 990 1766-0 Registergericht: Amtsgericht Muenchen Registernummer: HRB 168930 USt.-Id.: DE209485962 Vorstand: Marc Grimme, Mark Hlawatschek, Thomas Merz (Vors.) Vorsitzender des Aufsichtsrats: Dr. Martin Buss |