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.
I am trying to mount a drive that has Redhat installed.
Booting machine from that drive is not working. It reports
that it cannot find the OS. I think the drive is fulled.
I am trying to mount the drive and trying to delete couple of files to see if it can fix the problem.
However, mount does not work on the /dev/sdq2 partition.
It need a partition type, which i have no clue what it is.
mounting without option does not work either.
Can someone help?
Disk /dev/sdq: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdq1 * 1 13 104391 83 Linux
/dev/sdq2 14 14593 117113850 8e Linux LVM
[root@mnt]# mount -t LVM /dev/sdq2 /mnt/linux/
mount: fs type LVM not supported by kernel
LVM isn't a filesystem type, only a partition type. If you have LVM supported on whatever OS you're actually running under (which I assume is not Redhat...) then lvdisplay will show all recognised logical volumes, and it's the /dev/ entry there you'll want to mount, e.g. /dev/VolGroup/LogVol00
I connected the drive to other system via a usb enclosure.
The lvdisplay does not show the volume on that drive. It only shows those on the local machine.
Please suggest.
Here is what i got. It looks like the lvcan see only the sda drive.
The one I need is the sdb. Using lvmdiskcan see all of them, but does not tell me how to mount the drive.
I then try to mount the one shown in lvscan. Mounting LogVol00 works fine. It is the sda drive.
but LogVol01 does not work
Quote:
[root@mm ~]# mount /dev/VolGroup00/LogVol01 /mnt/lv1
/dev/VolGroup00/LogVol01 looks like swapspace - not mounted
mount: you must specify the filesystem type
Now. Trying the vgcan and found two VolGroup00. I think the 2nd one is the one
from sdb disk. How do I activate that 2nd group then?
Quote:
[root@mm ~]# /usr/sbin/vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
First trying to rename it directly. Ofcourse.. it does not work.
Fortunately, my system shows a warning of duplicate Volgroup with UUID (i think that what it is called) of the 2nd system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.