Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Data recovery

  1. #1

    Default Data recovery

    Hello
    I have a problem in recovering my data from a disk with opensuse installed.
    I have the drive connected via USB, but I can not find the data that was supposed to be in the home folder, but this folder is empty.
    I have already used a program in windows (UFS Explorer), and in this program I can visualize all the data that I want to recover, so it means that the data is present.
    when I try to access the same data through another computer with opensuse Leap 42.3 installed, I can access the disk perfectly, but I can not access the data.
    I need help urgently.
    thank you

  2. #2

    Default Re: Data recovery

    You are probably looking at the mounted root partition but the disk has a separate partition for home. You need to open/mount the home partition. The /home directory on the root partition is just a mountpoint and usually empty.

    Plug the disk to usb and show us the output of lsblk. If the output is inconclusive, post it anyway and describe how the system on that disk was set up, ie partioning, filesystems, lvm, encrytion, etc.

    Also, many filemanagers can mount partitions. Dolphin can and whatever Gnome provides as filemanager can probably too. So check the side panels for "disks" appearing after you plug in the disk.

  3. #3

    Default Re: Data recovery

    This is the result of lsblk

    linux-1q5f:~ # lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 232.9G 0 disk
    ├─sda1 8:1 0 1K 0 part
    ├─sda5 8:5 0 2G 0 part [SWAP]
    ├─sda6 8:6 0 40G 0 part /var/crash
    └─sda7 8:7 0 73.9G 0 part /home
    sdb 8:16 0 698.7G 0 disk
    ├─sdb1 8:17 0 156M 0 part
    ├─sdb2 8:18 0 650G 0 part /media
    └─sdb3 8:19 0 48.5G 0 part
    sr0 11:0 1 1024M 0 rom

    The disk have the following characteristics

    /dev/sbd1 | Size: 156.00MiB | Type: EFI boot | Fs Type: FAT
    /dev/sbd2 | Size: 650.01GiB | Type: Linus Native | Fs Type: BtrFS | Mount Point: /run/media/Leds/System
    /dev/sbd3 | Size: 48.47GiB | Type: Linux Swap | Fs Type: Swap

    thanks

  4. #4
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,611

    Default Re: Data recovery

    If you have access to another computer you might want to try http://www.system-rescue-cd.org/ to recover the data.

  5. #5

    Default Re: Data recovery

    Quote Originally Posted by john_hudson View Post
    If you have access to another computer you might want to try http://www.system-rescue-cd.org/ to recover the data.
    I tried it, and I did not succeed either, I really want someone to help me with a how to mount the partition / home, which is where my data is

    Thanks

  6. #6
    Join Date
    Feb 2017
    Location
    Very Far Away
    Posts
    67

    Default Re: Data recovery

    Can you boot from a rescue CD? If so, you can use the provided disks application to mount your /home partition, and then access it from your file manager of choice.

    I use gnome rather than KDE, and I've been able to do this with applications "disks" and "nautilus" both from the rescue disk.
    I hope it helps.

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,352
    Blog Entries
    15

    Default Re: Data recovery

    Hi
    Since the target filesystem is btrfs you need to mount as a subvolume;
    https://btrfs.wiki.kernel.org/index.php/Getting_started
    https://btrfs.wiki.kernel.org/index.php/SysadminGuide

    So your sdb2 is the volume (top level), home is a subvolume of sdb2...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Data recovery

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Since the target filesystem is btrfs you need to mount as a subvolume;
    https://btrfs.wiki.kernel.org/index.php/Getting_started
    https://btrfs.wiki.kernel.org/index.php/SysadminGuide

    So your sdb2 is the volume (top level), home is a subvolume of sdb2...
    After you've mounted the volume,
    If you still can't see the data on the partition,

    1. Your next step should be to clone the drive so that you can attempt recovery while still having a copy in case things go wrong.
    2. You can try to recover the files using the methods described in two references I provided in the following Forum post

    https://forums.opensuse.org/showthre...89#post2854089

    Good Luck,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  9. #9
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,277

    Default Re: Data recovery

    Quote Originally Posted by tsu2 View Post
    1. Your next step should be to clone the drive so that you can attempt recovery while still having a copy in case things go wrong.
    We do not know what is wrong with the drive. It could be a hardware failure. My practice has been to make two copies of the needed partitions with dd-rescue and work with one of the copies.
    --
    slàinte mhath,
    rayH

    ~ knowing the right answer is easier than knowing the right question.

  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: Data recovery

    Quote Originally Posted by eng-int View Post
    We do not know what is wrong with the drive. It could be a hardware failure. My practice has been to make two copies of the needed partitions with dd-rescue and work with one of the copies.
    Malcolm already posted the only thing possible: /home is a subvolume of sdb2 ....
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •