Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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 had a centos Linux 64bit installed on my server.
Unfortunately I don't know how but my OS crashed
and now I have no way to get back my DATA except for rescue disk.
I have a Linux 64bit loaded in my server with rescue
but I have tried many ways to mount my hdd in Linux and was not succeed.
please help my out of this hell. all my life achievement is in this server!
root@rescue ~ # lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID Z2cXSX-zUZw-eLTh-am9r-PMcc-dLhz-mzJDuH
LV Write Access read/write
LV Status available
# open 0
LV Size 1.35 TB
Current LE 44397
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID SOkdvF-Z0uM-CEJR-3bBr-iejS-IjHy-3PbWkc
LV Write Access read/write
LV Status available
# open 0
LV Size 9.75 GB
Current LE 312
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
i have tries many ways to mount the hdd but each gave an error
root@rescue ~ # mount /dev/VolGroup00/LogVol00 /mnt
mount: you must specify the filesystem type
root@rescue ~ # mount -t ext3 /dev/VolGroup00/LogVol00 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup00-LogVol00,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@rescue ~ # mount /dev/dm-0 /mnt
mount: you must specify the filesystem type
root@rescue ~ # mount -t ext3 /dev/dm-0 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/dm-0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
for the last time. please someone with the knowledge of Linux help me
i really need ma data. i have disappointed in my server OS to get repaired
but at least i have to mount my hdd to be able to transfer my data.
Are you using raid ? If not then you don't need md commands.
You have to activate LVM volumes before they can be mounted.
as root :
Code:
vgscan
vgchange -ay
Depending on the results of those commands, you can then mount the volume. Don't mount it on /mnt create a subdirectory like /mnt/rescue then mount the LV on that.
You can use some of the examples from this howto, but this is not a recipe ! Only use these pages as examples of commands relevant to your needs. http://www.howtoforge.com/linux_lvm
root@rescue /mnt # mount /dev/mapper/VolGroup00-LogVol00 /mnt/rescue
mount: you must specify the filesystem type
root@rescue /mnt # mount -t ext3 /dev/mapper/VolGroup00-LogVol00 /mnt/rescue
mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup00-LogVol00,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
root@rescue ~ # cd /mnt
root@rescue /mnt # mkdir rescue
root@rescue /mnt # vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
root@rescue /mnt # vgchange -ay
2 logical volume(s) in volume group "VolGroup00" now active
root@rescue /mnt # mount /dev/VolGroup00/LogVol00 /mnt/rescue
mount: you must specify the filesystem type
root@rescue /mnt # mount -t ext3 /dev/VolGroup00/LogVol00 /mnt/rescue
mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup00-LogVol00,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
ny the way I have tried with both ext2 ext3
but none worked out and game the last error
wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup00-LogVol00,
please help me out of this !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.