LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-25-2008, 12:58 PM   #1
sagsriv
LQ Newbie
 
Registered: Jan 2008
Location: Kolkata India
Distribution: fedora 6
Posts: 21

Rep: Reputation: 15
where to look out for my mounted device?


I have fedora 10 installed on my disk. Initially I had 4 partitions. In 1 partition I used to keep windows xp ,in another 2 partitions data,and linux was installed in the other one. Somehow, my hdd got corrupted and I was not able to boot from either of my os. However.I was able to load linux in the one of the data partition. now my hdd status (as given by fdisk command)is:
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1e5e1e5d

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2432 19535008+ 7 HPFS/NTFS
/dev/sda2 2433 9726 58589055 f W95 Ext'd (LBA)
/dev/sda5 4865 7296 19535008+ 7 HPFS/NTFS
/dev/sda6 2433 2458 208782 83 Linux
/dev/sda7 7297 9726 19518943+ 8e Linux LVM
/dev/sda8 2459 2483 200781 83 Linux
/dev/sda9 2484 4864 19125351 8e Linux LVM

Partition table entries are not in disk order

Disk /dev/dm-0: 18.4 GB, 18488492032 bytes
255 heads, 63 sectors/track, 2247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 1040 MB, 1040187392 bytes
255 heads, 63 sectors/track, 126 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 18.8 GB, 18891145216 bytes
255 heads, 63 sectors/track, 2296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 1040 MB, 1040187392 bytes
255 heads, 63 sectors/track, 126 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-3 doesn't contain a valid partition table
Actually I had some important data in previous linux partition (which I suppose is sda7) and want to mount it. but whenever I try to mount it It says that sda7 is already mounted. I used the mount command which shows

/dev/mapper/VolGroup01-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda8 on /boot type ext3 (rw) [/boot]
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sda5 on /media/Local Disk type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096) [Local Disk]
/dev/sda1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=0)

Again, when I try to mount sda6 which was the root partition for previous linux installation,I get some error message like:

mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Can anyone tell me how to retrive data from my previous linux partition?
 
Old 05-25-2008, 01:11 PM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47
Can you give us more information

1. The output of these commands

# pvs
# vgs
# lvs
 
Old 05-25-2008, 02:12 PM   #3
sagsriv
LQ Newbie
 
Registered: Jan 2008
Location: Kolkata India
Distribution: fedora 6
Posts: 21

Original Poster
Rep: Reputation: 15
@ bhaslinux

[root@localhost ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sda7 VolGroup00 lvm2 a- 18.59G 32.00M
/dev/sda9 VolGroup01 lvm2 a- 18.22G 32.00M
[root@localhost ~]# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 18.59G 32.00M
VolGroup01 1 2 0 wz--n- 18.22G 32.00M
[root@localhost ~]# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
LogVol00 VolGroup00 -wi-a- 17.59G
LogVol01 VolGroup00 -wi-ao 992.00M
LogVol00 VolGroup01 -wi-ao 17.22G
LogVol01 VolGroup01 -wi-ao 992.00M
 
  


Reply


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
How to keep a mounted device after reboot? jacksonb Linux - Software 2 03-01-2006 02:17 PM
testing if device is already mounted kushalkoolwal Programming 7 09-30-2005 12:40 PM
swap device not getting mounted jacobselvin Linux - Newbie 9 07-20-2005 10:48 AM
Access on mounted device!? mindspin Fedora 1 12-18-2004 07:47 AM
Mounted Device names Rodzilla Linux - Newbie 7 09-25-2003 11:39 AM


All times are GMT -5. The time now is 04:15 PM.

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