Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how do i unmount a logical volume on a group to make a filesystem on it?
i'm using Fedora 8 and get this shell output:
[root@myserver ~]# mkfs -t ext3 /dev/VolGroup00/LogVol02
mke2fs 1.40.2 (12-Jul-2007)
dev/VolGroup00/LogVol02 is mounted; will not make a filesystem here!
i'm using only 1 group, VolGroup00, and am aiming to copy my home directory to VolGroup00/LogVol02
may be you are still accessing the device via nautilus/konquerer.Stop that and then try again.Also don't go on output.Sometimes you still get device busy error even after success.
closing konqueror didn't work but i succeeded after changing to runlevel 1 (got the idea in a forum post here). gave umount and mkfs commands from runlevel 1 command line. (for newbies like me, you must edit /etc/inittab to change from runlevel 5 to runlevel 1.)
there was a lot of response to mkfs, so i suspected success. to my dismay, i couldn't log in on my user name or find my home directory. nor could i create new users. iceweasel's equivalent wouldn't run on root either.
it's not all that bad; not much on that home directory that i'll miss, and i'd planned to reinstall fedora too. the experience had taught me some things...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.