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 08-09-2016, 12:11 PM   #76
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled

Thank you very much. Can you tell some hints or suggestion. I want to go with the difficult way. I need to learn this things. Moreover, I had important things which needs to be retrieved. I appreciate help.

Best Regards
Zillur
 
Old 08-09-2016, 03:42 PM   #77
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Check out photorec and testdisk. You never confirmed if the partition photo you posted is the same disk as sda.
 
Old 08-09-2016, 03:49 PM   #78
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
Thank you very much. How can I confirm this? How can I test disk? Can I create a folder and then mount sda3 in that folder?
Code:
mkdir /works
Code:
mount /dev/sda3 /works
Will it work? Can I retrieve my data by doing this.
I appreciate your kind help.

Best Regards
Zillur
 
Old 08-09-2016, 04:24 PM   #79
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
This is what I was referring to:
http://www.cgsecurity.org/

Your previous system /home was /sda1. Currently sda1 is an efi partition and sda3 is a LVM partition which appears to be empty. sda3 can not be mounted. If nothing else was written to the drive then the data should be intact but you have to use the above utilities.
 
1 members found this post helpful.
Old 08-09-2016, 06:57 PM   #80
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
Thank you very much. I have downloaded testdisk and followed the step by step instructions. http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

But still I am in the dark. May be I am missing something. It is supposed that after reboot, everything should be fine. But.....

After reboot:
Code:
[root@bioworkstation testdisk-7.0]# lvs
  LV   VG     Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home centos -wi-ao---- 57.24g                                                    
  root centos -wi-ao---- 50.00g                                                    
  swap centos -wi-ao----  4.00g                                                    
[root@bioworkstation testdisk-7.0]# pvs
  PV         VG     Fmt  Attr PSize   PFree 
  /dev/sda2         lvm2 ---   14.55t 14.55t
  /dev/sdb2  centos lvm2 a--  111.30g 60.00m
[root@bioworkstation testdisk-7.0]# mount /dev/sda2 /mordor/
mount: unknown filesystem type 'LVM2_member'
Thanks again for your kind help.

Best Regards
Zillur
Attached Thumbnails
Click image for larger version

Name:	13950806_10209705344535022_151282704_o.png.jpeg
Views:	3
Size:	53.6 KB
ID:	22695   Click image for larger version

Name:	13977801_10209705344895031_845868942_o.png.jpeg
Views:	2
Size:	48.5 KB
ID:	22696   Click image for larger version

Name:	13977931_10209705345615049_917803480_o.png.jpeg
Views:	2
Size:	29.6 KB
ID:	22697   Click image for larger version

Name:	13978338_10209705345255040_932193484_o.png.jpeg
Views:	2
Size:	46.8 KB
ID:	22698  
 
Old 08-09-2016, 07:27 PM   #81
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
If my above post is correct your looking for a lost partition which should be ext4. If testdisk fails then the next step would be photorec to search for individual files.

You can not mount a LVM partition. It is just a container for volume groups and logical volumes. You mount the logical volume but sda2 is empty.
 
Old 08-09-2016, 09:09 PM   #82
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
Thank you very much. I might be wrong, but the disk exists!! So, how can I use it? Any clue? Photorec needs a destination folder to save the recovered files, I think I had more than 10TB datas in that disk. In my current partition, do I have that space?
Code:
PhotoRec 7.0, Data Recovery Utility, April 2015

Please select a destination to save the recovered files.
Do not choose to write the files to the same partition they were stored on.
Keys: Arrow keys to select another directory
      C when the destination is correct
      Q to quit
Directory /home/zillur
Code:
[zillur@bioworkstation ~]$ df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/centos-root   50G  6.9G   44G  14% /
devtmpfs                  87G     0   87G   0% /dev
tmpfs                     87G  920K   87G   1% /dev/shm
tmpfs                     87G  9.6M   87G   1% /run
tmpfs                     87G     0   87G   0% /sys/fs/cgroup
/dev/mapper/centos-home   58G  163M   58G   1% /home
/dev/sdb1                497M  215M  283M  44% /boot
tmpfs                     18G   16K   18G   1% /run/user/1000
[zillur@bioworkstation ~]$
Thank you again for persistently helping me.
Best Regards
Zillur
 
Old 08-09-2016, 09:41 PM   #83
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Your old home was 28% used which is about 4.5TB. You do not have enough space.
 
1 members found this post helpful.
Old 08-09-2016, 10:30 PM   #84
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
Thank you very much. Then what I need to do? How can I use this 16TB disk?

Best Regards
Zillur
 
Old 08-10-2016, 05:15 AM   #85
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
save a few files at a time, then move them to some backup storage?
 
Old 08-10-2016, 05:38 AM   #86
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
If you write to the disk before the files are recovered they will be overwritten.
 
Old 08-10-2016, 11:42 AM   #87
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
Thank you very much. But how can I access the disk? I still have some space in that disk. I want to use this disk.
I appreciate your helps.

Best Regards
Zillur
 
Old 08-10-2016, 11:46 AM   #88
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Which disk do you want to use sda or sdb?
 
Old 08-10-2016, 11:50 AM   #89
zillur
Member
 
Registered: Apr 2015
Posts: 179

Original Poster
Rep: Reputation: Disabled
Thank you very much. I want to use sda.

Best regards
Zillur
 
Old 08-10-2016, 11:52 AM   #90
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,963

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Again if sda is the disk you are trying to recover data from then writing to it will destroy any files that might exist.
 
1 members found this post helpful.
  


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
Failing to boot up due to failing to acces the GRUB spenot09 Linux - Software 7 10-19-2015 11:56 AM
Jessie boot cd failing to boot on a Poweredge R905 Jasambo Debian 5 06-15-2015 05:38 PM
Boot Problem in Grub (Chainloader failing? /boot messed up?) gjemmott Linux - Desktop 2 03-15-2010 11:26 AM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 08:34 AM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 03:37 PM


All times are GMT -5. The time now is 04:51 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