BackupPC-users

[BackupPC-users] Recovering after Hard Drive Failure

2012-04-22 22:19:49
Subject: [BackupPC-users] Recovering after Hard Drive Failure
From: "Kenneth L. Owen" <tx836519 AT bellsouth DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 22 Apr 2012 22:18:44 -0400
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@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@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@smbsrvr2:~$ sudo mount -t ext3 /dev/archive/backup /new
ken@smbsrvr2:~$ cd /new
ken@smbsrvr2:/new$ ls
cpool  log  lost+found  pc  pool  trash
ken@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@smbsrvr2:/new$ cd /home
ken@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
------------------------------------------------------------------------------
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 DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>