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@smbsrvr2:~$ sudo mount -t ext3 /dev/archive/backuppc /new
> [sudo] password for ken: 
> ken@smbsrvr2:~$ cd /new
> ken@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@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@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@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@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 
> [email protected] List: 
> https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: 
> http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/


------------------------------------------------------------------------------
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
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to