SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Recovering after Hard Drive Failure
Author Message
Post Recovering after Hard Drive Failure 
Hi All,

I been running BackupPC since 2007 and gotten good service over the years.

Recently, things started acting a bit strangely and now I understand that the hard drive was failing.

I have a new (and larger) hard drive installed. I has been a while since I last set up the system, so it has been slow going while I research my notes and try to remember.

I was running the archive drive as an LVM2 drive and mounted it at /var/lib/backuppc. I have set up the new drive, but cannot get it to mount. I am probably doing something wrong.

I pray that someone will see what I am doing wrong or failed to do.

Below is data from my system:

ken < at > smbsrvr2:~$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003a65b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3825 30720000 83 Linux
/dev/sda2 3825 4080 2048000 82 Linux swap / Solaris
/dev/sda3 4080 38914 279800833 5 Extended
/dev/sda5 4080 16828 102400000 7 HPFS/NTFS
/dev/sda6 16829 38914 177399808 83 Linux

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x495f918b

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sdb2 3825 38913 281852392+ f W95 Ext'd (LBA)
/dev/sdb5 3825 17465 109571301 7 HPFS/NTFS
/dev/sdb6 17466 31106 109571301 7 HPFS/NTFS
/dev/sdb7 31107 38913 62709696 83 Linux

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table
ken < at > smbsrvr2:~$ sudo lvdisplay
--- Logical volume ---
LV Name /dev/archive/backup
VG Name archive
LV UUID bIHQDu-oHw1-q0L9-IXaI-Cymy-Cvrz-8xOSzZ
LV Write Access read/write
LV Status available
# open 0
LV Size 936.00 MiB
Current LE 234
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0

ken < at > smbsrvr2:~$ sudo mount -t ext3 /dev/archive/backup /new
ken < at > smbsrvr2:~$ cd /new
ken < at > smbsrvr2:/new$ ls
cpool log lost+found pc pool trash
ken < at > smbsrvr2:/new$ ls -al
total 44
drwxr-xr-x 8 backuppc root 4096 2012-04-22 17:57 .
drwxr-xr-x 24 root root 4096 2012-04-22 17:35 ..
drwxr-xr-x 18 backuppc root 4096 2012-04-22 18:24 cpool
drwxr-xr-x 2 backuppc root 4096 2012-04-22 18:26 log
drwx------ 2 backuppc root 16384 2012-04-22 17:31 lost+found
drwxr-xr-x 3 backuppc root 4096 2012-04-22 18:28 pc
drwxr-xr-x 2 backuppc root 4096 2012-04-22 17:57 pool
drwxr-xr-x 2 backuppc root 4096 2012-04-22 17:57 trash
ken < at > smbsrvr2:/new$ cd /home
ken < at > smbsrvr2:/home$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=e29cfdcb-97b3-4310-b20f-8a0e74174d9e / ext2 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=9ee6015d-bf2b-417c-94ac-90f60c51814a none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sdb7 /home ext3 nodev,nosuid 0 2
/dev/archive/backup /var/lib/backuppc defaults 0 0

-- ken

Post Recovering after Hard Drive Failure 
Kenneth L. Owen wrote:
I was running the archive drive as an LVM2 drive and mounted it at
/var/lib/backuppc. I have set up the new drive, but cannot get it to
mount.

Ken,

I have instructions at work on how to move an LVM to a different
system/drive. I'll dig them up when I get to work, in a few hours and
send them to you.

Doug

--
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Recovering after Hard Drive Failure 
Hi Doug,

Reading over the notes I had for creating an LVM2 drive, I decided that I had made a mistake and reworked the setup. It seemed to work more like I remember from 2007, but it still will not mount on boot.

My updated data is:


ken < at > smbsrvr2:~$ sudo mount -t ext3 /dev/archive/backuppc /new
[sudo] password for ken:
ken < at > smbsrvr2:~$ cd /new
ken < at > smbsrvr2:/new$ ls -al
total 44
drwxr-xr-x 8 backuppc root 4096 2012-04-24 17:37 .
drwxr-xr-x 24 root root 4096 2012-04-24 17:41 ..
drwxr-x--- 18 backuppc backuppc 4096 2012-04-24 17:37 cpool
drwxr-x--- 2 backuppc backuppc 4096 2012-04-24 17:37 log
drwx------ 2 backuppc root 16384 2012-04-24 17:27 lost+found
drwxr-x--- 3 backuppc backuppc 4096 2012-04-24 17:37 pc
drwxr-x--- 2 backuppc backuppc 4096 2012-04-24 17:37 pool
drwxr-x--- 2 backuppc backuppc 4096 2012-04-24 17:37 trash


ken < at > smbsrvr2:/new$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=e29cfdcb-97b3-4310-b20f-8a0e74174d9e / ext2 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=9ee6015d-bf2b-417c-94ac-90f60c51814a none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda6 /media/STORAGE ext3 defaults 0 0
/dev/sdb7 /home ext3 nodev,nosuid 0 2
/dev/archive/backuppc /var/lib/backuppc rw,noatime 0 0


ken < at > smbsrvr2:/new$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003a65b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3825 30720000 83 Linux
/dev/sda2 3825 4080 2048000 82 Linux swap / Solaris
/dev/sda3 4080 38914 279800833 5 Extended
/dev/sda5 4080 16828 102400000 7 HPFS/NTFS
/dev/sda6 16829 38914 177399808 83 Linux

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x495f918b

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sdb2 3825 38913 281852392+ f W95 Ext'd (LBA)
/dev/sdb5 3825 17465 109571301 7 HPFS/NTFS
/dev/sdb6 17466 31106 109571301 7 HPFS/NTFS
/dev/sdb7 31107 38913 62709696 83 Linux

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
81 heads, 63 sectors/track, 382818 cylinders
Units = cylinders of 5103 * 512 = 2612736 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0000b749

Device Boot Start End Blocks Id System
/dev/sdc1 1 382819 976761560 83 Linux


ken < at > smbsrvr2:/new$ sudo lvdisplay
--- Logical volume ---
LV Name /dev/archive/backuppc
VG Name archive
LV UUID WVEEb6-0ISy-yhLe-8RlO-1BUt-9NeP-5oiuM3
LV Write Access read/write
LV Status available
# open 1
LV Size 931.51 GiB
Current LE 238467
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0

ken < at > smbsrvr2:/new$



On Mon, 2012-04-23 at 05:45 -0400, Doug Lytle wrote:
Kenneth L. Owen wrote:
I was running the archive drive as an LVM2 drive and mounted it at
/var/lib/backuppc. I have set up the new drive, but cannot get it to
mount.

Ken,

I have instructions at work on how to move an LVM to a different
system/drive. I'll dig them up when I get to work, in a few hours and
send them to you.

Doug



Post Recovering after Hard Drive Failure 
Hi Doug,

Just after posting the note below, it hit me that I had failed to include 'ext3' in the mount entry for the LVM in fstab. Once I corrected that mistake, the reworked LVM2 mounts.

Now that I'm over that hurdle, I will continue getting the system back into service until the next place that I mess up!

-- ken


On Tue, 2012-04-24 at 18:05 -0400, Kenneth L. Owen wrote:
Hi Doug,

Reading over the notes I had for creating an LVM2 drive, I decided that I had made a mistake and reworked the setup. It seemed to work more like I remember from 2007, but it still will not mount on boot.

My updated data is:


ken < at > smbsrvr2:~$ sudo mount -t ext3 /dev/archive/backuppc /new
[sudo] password for ken:
ken < at > smbsrvr2:~$ cd /new
ken < at > smbsrvr2:/new$ ls -al
total 44
drwxr-xr-x 8 backuppc root 4096 2012-04-24 17:37 .
drwxr-xr-x 24 root root 4096 2012-04-24 17:41 ..
drwxr-x--- 18 backuppc backuppc 4096 2012-04-24 17:37 cpool
drwxr-x--- 2 backuppc backuppc 4096 2012-04-24 17:37 log
drwx------ 2 backuppc root 16384 2012-04-24 17:27 lost+found
drwxr-x--- 3 backuppc backuppc 4096 2012-04-24 17:37 pc
drwxr-x--- 2 backuppc backuppc 4096 2012-04-24 17:37 pool
drwxr-x--- 2 backuppc backuppc 4096 2012-04-24 17:37 trash


ken < at > smbsrvr2:/new$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=e29cfdcb-97b3-4310-b20f-8a0e74174d9e / ext2 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=9ee6015d-bf2b-417c-94ac-90f60c51814a none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda6 /media/STORAGE ext3 defaults 0 0
/dev/sdb7 /home ext3 nodev,nosuid 0 2
/dev/archive/backuppc /var/lib/backuppc rw,noatime 0 0


ken < at > smbsrvr2:/new$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003a65b

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3825 30720000 83 Linux
/dev/sda2 3825 4080 2048000 82 Linux swap / Solaris
/dev/sda3 4080 38914 279800833 5 Extended
/dev/sda5 4080 16828 102400000 7 HPFS/NTFS
/dev/sda6 16829 38914 177399808 83 Linux

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x495f918b

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sdb2 3825 38913 281852392+ f W95 Ext'd (LBA)
/dev/sdb5 3825 17465 109571301 7 HPFS/NTFS
/dev/sdb6 17466 31106 109571301 7 HPFS/NTFS
/dev/sdb7 31107 38913 62709696 83 Linux

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
81 heads, 63 sectors/track, 382818 cylinders
Units = cylinders of 5103 * 512 = 2612736 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0000b749

Device Boot Start End Blocks Id System
/dev/sdc1 1 382819 976761560 83 Linux


ken < at > smbsrvr2:/new$ sudo lvdisplay
--- Logical volume ---
LV Name /dev/archive/backuppc
VG Name archive
LV UUID WVEEb6-0ISy-yhLe-8RlO-1BUt-9NeP-5oiuM3
LV Write Access read/write
LV Status available
# open 1
LV Size 931.51 GiB
Current LE 238467
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 252:0

ken < at > smbsrvr2:/new$



On Mon, 2012-04-23 at 05:45 -0400, Doug Lytle wrote:
Kenneth L. Owen wrote:
I was running the archive drive as an LVM2 drive and mounted it at
/var/lib/backuppc. I have set up the new drive, but cannot get it to
mount.

Ken,

I have instructions at work on how to move an LVM to a different
system/drive. I'll dig them up when I get to work, in a few hours and
send them to you.

Doug


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ BackupPC-users mailing list BackupPC-users < at > lists.sourceforge.net ([email]BackupPC-users < at > lists.sourceforge.net[/email]) List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/


Post Recovering after Hard Drive Failure 
Kenneth L. Owen wrote:
Just after posting the note below, it hit me that I had failed to
include 'ext3' in the mount entry for the LVM in fstab. Once I
corrected that mistake, the reworked LVM2 mounts.

Great! Glad you figured it out.

Doug


--
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB