Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-09-2004, 10:14 AM   #1
Registered: Sep 2003
Location: California
Distribution: RH9, Fedora: FC1, FC3, Suse9.3
Posts: 54

Rep: Reputation: 15
In fc3 Can I umount a Logical Volume which is mounted auto in fstab?

I would like to extend an LVM2 volume without rebooting, but I need to unmount the volume when I do the file system extend. the volume is mounted auto in fstab, and fuser -v shows that it is in use by the kernel . Is there a way to umount the volume without modifying fstab to noauto and rebooting?

I could mount it noauto in fstab and mount it in an initialization script. (In Fedora, add
mount <mount point>
to /etc/local.rc). Is there a better way?

Last edited by TomF; 12-11-2004 at 06:59 PM.
Old 12-13-2004, 11:45 AM   #2
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
if its in use by the kernel, i think the only thing you can do is reboot, however, if you do noauto, it might mess up the kernel also
Old 12-16-2004, 02:40 AM   #3
Registered: Sep 2003
Location: California
Distribution: RH9, Fedora: FC1, FC3, Suse9.3
Posts: 54

Original Poster
Rep: Reputation: 15
Bypass: noauto plus init script


Using noauto plus an init script works for this filesystem, since it is not needed for system init, but I want to be able to use it on my running system without bothering to mount it.

I am adding an RFE for a "deferred" mount option in fstab, which would eliminate the need for the bypass.I mentioned ealier. Otherwise, I consider this issue closed.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logical Volume Management 2 XaViaR Linux - General 5 08-20-2005 08:48 AM
resizing a logical volume nicentral AIX 2 06-11-2005 05:03 PM
logical volume manager plythgam Linux - Software 1 11-08-2004 11:47 AM
can't umount nfs volume GŠutama Linux - Networking 0 07-10-2003 09:20 AM
Logical Volume Management jatimon Linux - General 0 04-17-2002 03:57 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration