Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
if you have to reinstall, boot a knoppix cd first, their website tells how to install lvm into the ramdisk. You may be able to recover some data. restore the data after the reinstall if any can be recovered.
haertig - the lvchange is not working (why should it with my luck!)
Code:
[root@RAMAIR /]# umount /dev/ramairVG/lvhome2
umount: /dev/ramairVG/lvhome2: not mounted
[root@RAMAIR /]# lvchange -a n /dev/ramairVG/lvhome2
lvchange -- operation not permitted for (open) logical volume "/dev/ramairVG/lvh
ome2"
[root@RAMAIR /]#
comptiger5000 -
I don't fully understand what I could do with a bootable knippox CD that I couldn't do with my current running system. Would you mind explaining in a little more detail what I could do with a knippox CD to recover my data? Or, if there is a howto or something online that you could point me to, I'd appreciate it.
One of my LV's is mounted on /var (/dev/ramairVG/lvsyslogs)
I unmounted via umount -l /var
here's the failed attempt
I re-mounted /var after the vgchange failed.
Code:
[root@RAMAIR /]# mount
/dev/md0 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
[root@RAMAIR /]# vgchange -a n
vgchange -- can't deactivate volume group "ramairVG" with 3 open logical volumes
[root@RAMAIR /]# mount /var
[root@RAMAIR /]# mount
/dev/md0 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/ramairVG/lvsyslogs on /var type ext3 (rw)
[root@RAMAIR /]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.