Bubba 2 crashed - how to recover files?

Got problems with your B2 or B3? Share and get helped!
Post Reply
vrep
Posts: 22
Joined: 31 Jul 2009, 03:23

Bubba 2 crashed - how to recover files?

Post by vrep » 26 Aug 2019, 17:24

Hello all,

I had this fine Bubba 2 server until it crashed on my a couple of years ago. Due to circumstances, I never got around to try to save the data from the disk. Now that I have a new Qnap TS-128A I thought let's hook the old bubba disk (WD Green 1TB) up the Qnap.

The Qnap system sees the first disk with the Debian OS installed (EXT3), but it doesn't understand the filesystems of the other two partitions. Needless to say, I need the second one with all my data on it.

Any thoughts on how to recover my files? Any and all help is appreciated!

Cheers,
Michiel

Gordon
Posts: 1367
Joined: 10 Aug 2011, 03:18

Re: Bubba 2 crashed - how to recover files?

Post by Gordon » 28 Aug 2019, 15:40

Unsure if the same partitioning method was used on the B2, but on the B3 the data partition is set up as an LVM to allow it to be configured with a mirror disk (RAID-1). If Qnap supports this method of soft-raid you could try `vgscan` if it can find the LVM and the volumes inside it.

vrep
Posts: 22
Joined: 31 Jul 2009, 03:23

Re: Bubba 2 crashed - how to recover files?

Post by vrep » 29 Aug 2019, 07:35

Hey Gordon,

Thanks for the reply! Yes, I also found out it is LVM2 via fdisk:

Code: Select all

[~] # fdisk -l /dev/sdb

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218      121457   965827800   8e  Linux LVM
/dev/sdb3          121458      121601     1156680   82  Linux swap / Solaris
vgscan gives me one partition (vg1). According to output from pvs that is the current Qnap disk as it is 2.7TB and my bubba disk was only 900GB.

I hope this helps!

Gordon
Posts: 1367
Joined: 10 Aug 2011, 03:18

Re: Bubba 2 crashed - how to recover files?

Post by Gordon » 29 Aug 2019, 09:31

That doesn't sound good. You could check out the following external link for hints how to proceed:

https://unix.stackexchange.com/question ... vmdiskscan

Post Reply