__________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840
Grega Bremec <[EMAIL PROTECTED] et> To LINUX-390@VM.MARIST.EDU Sent by: cc Linux on 390 Port Subject <[EMAIL PROTECTED] Re: mount returning incorrect .MARIST.EDU> information 09/16/2005 09:29 AM Please respond to Linux on 390 Port <[EMAIL PROTECTED] .MARIST.EDU> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Carsten Otte wrote: > Ranga Nathan wrote: > >>I converted many LVMs systems from reiserfs to ext3. One of them is >>/dev/vg0/home. When I issue the mount command I do not see it. However YaST >>shows it as an active LVM. Everything is working fine. >>This is kind of bothering me. Unfortunately I did not get time to reboot >>Linux after the conversions. Until the next reboot (hopefully the coming >>weekend) I will have to sweat on this. >>Any ideas? > > What does mount report? Would you post the return code from sys_mount > (use strace <command>)? Hey, Ranga, Carsten, subscribers. One option to get this verified is also checking out /proc/mounts. SLES9 has a number of boot scripts that deal with cleaning up "stale" mtab entries in a slightly erroneous manner, and I have a hunch this might be one of them. Yes, cat /proc/mounts shows the mounted lvm. If there _is_ an entry for /dev/vg0/home in /proc/mounts, you can simply add it to /etc/mtab using "mount -f /dev/vg0/home" to use default /etc/fstab options for that mount point, or specify any additional mount options according to your taste and desire. The "-f" mount(8) option will simply cause "everything to be done except for the actual system call", as the manpage explains. Cool. That worked! I've done several adjustments to the boot scripts with regard to that (namely, they simply wipe everything in /etc/mtab out, under the false assumption they're the first ones to ever touch it), and if anyone is interested, I can post some patches. In the other case, I shall be writing a lengthy post one of these days, as time permits, where I'll be explaining bits and pieces about the specifics one needs to engage in to make SLES9 support a separate /etc filesystem, which obviously comes handy when you have to deal with cloned users. Hope this helped, Absolutely. Thank you very much. I have been losing sleep over the mount issue so much that I have scheduled a re-IPL for the linux guest on Sunday. - -- Grega Bremec gregab at p0f dot net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFDKvLpfu4IwuB3+XoRAyTsAJ9xf4kFqb9xmvRTTIXSKFP/vDGLwwCfWnXQ PesVFPE5BZ5mYzeyYon7Wqo= =bvHh -----END PGP SIGNATURE----- ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390