LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Recover disk after a hard reset [unusual situation] ??? (https://www.linuxquestions.org/questions/linux-newbie-8/recover-disk-after-a-hard-reset-%5Bunusual-situation%5D-4175591441/)

jbmd 10-15-2016 01:34 AM

Recover disk after a hard reset [unusual situation] ???
 
Hello,

I have VPS (KVM) 15GB disk. Provider somehow attached another disk (with the same older data) to this VPS. (blkid, fstab etc. here). Everything was working fine untill hardreset (hs).
After hardreset I see old data only. Do I have any chance to get to newer data on another disk?

Please see details before and after hardreset:


blkid before hs
/dev/mapper/faster2-swap_1: UUID="9e1aab50-a81b-4414-9411-879485bce300" TYPE="swap"
/dev/vda5: UUID="zj6PVa-UFum-85ZL-c8EU-poio-ScQX-KbW2sI" TYPE="LVM2_member"
/dev/vdb1: UUID="ba8f444e-4d5c-4298-ab2e-24a0a599a965" TYPE="ext2"
/dev/vdb5: UUID="zj6PVa-UFum-85ZL-c8EU-poio-ScQX-KbW2sI" TYPE="LVM2_member"
/dev/vda1: UUID="471e4f9e-c432-4698-a36a-89a1ae3285b2" TYPE="ext2"
/dev/mapper/faster2-root: UUID="eb9ee4a0-27b0-4f8d-bebc-9d7134789c7e" TYPE="ext4"




blkid after hs
root@faster2:~# blkid
/dev/mapper/faster2-swap_1: UUID="9e1aab50-a81b-4414-9411-879485bce300" TYPE="swap"
/dev/vda5: UUID="zj6PVa-UFum-85ZL-c8EU-poio-ScQX-KbW2sI" TYPE="LVM2_member"
/dev/vda1: UUID="471e4f9e-c432-4698-a36a-89a1ae3285b2" TYPE="ext2"
/dev/mapper/faster2-root: UUID="eb9ee4a0-27b0-4f8d-bebc-9d7134789c7e" TYPE="ext4"



fstab before hs
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/faster2-root / ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1
# /boot was on /dev/vda1 during installation
UUID=471e4f9e-c432-4698-a36a-89a1ae3285b2 /boot ext2 defaults 0 2
/dev/mapper/faster2-swap_1 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/var/log/ispconfig/httpd/oplatka.com /var/www/clients/client0/web1/log none bind,nobootwait,_netdev 0 0
/var/log/ispconfig/httpd/technipoint.cz / etc...


fstab after hs
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/faster2-root / ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1
# /boot was on /dev/vda1 during installation
UUID=471e4f9e-c432-4698-a36a-89a1ae3285b2 /boot ext2 defaults 0 2
/dev/mapper/faster2-swap_1 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/var/log/ispconfig/httpd/oplatka.com /var/www/clients/client0/web1/log none bind,nobootwait,_netdev 0 0


I would appreciate your help.

jbmd

gentisle 10-15-2016 05:47 PM

have you tried gpart (g[uess]part[ition]?
Be aware that on a large HDD, it can take hours to days, so if you don't have a battery backup, it might be a bad idea.


All times are GMT -5. The time now is 12:43 AM.