Hi all,
I needed to expand my Debian Wheezy system by adding a 1 TB drive and
decided to switch over to LVM2 in the process. I rolled up my old 160 GB
drive into the 1 TB drive and called the whole thing "bigdisk" and
chopped the drive into 3 logical volumes. Everything seemed to work
until I started to try mounting the logical volumes. On boot up with the
fstab file shown below, the system gets a whole bunch of mod-probe
errors and finally drops into the maintenance mode. If I go in and # out
the 3 lines shown the boot goes as normal. My setup is:
--------------------------------------
fdisk -l =>
Disk /dev/sda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009aac6
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 113195007 56596480 83 Linux
/dev/sda2 113197054 117229567 2016257 5 Extended
/dev/sda5 113197056 117229567 2016256 82 Linux swap / Solaris
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000264c7
Device Boot Start End Blocks Id System
/dev/sdc1 1 1953525167 976762583+ 8e Linux LVM
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 312581807 156290903+ 8e Linux LVM
Disk /dev/mapper/bigdisk-backuppc: 499.3 GB, 499289948160 bytes
255 heads, 63 sectors/track, 60701 cylinders, total 975175680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/bigdisk-backuppc doesn't contain a valid partition table
Disk /dev/mapper/bigdisk-general: 499.3 GB, 499289948160 bytes
255 heads, 63 sectors/track, 60701 cylinders, total 975175680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/bigdisk-general doesn't contain a valid partition table
Disk /dev/mapper/bigdisk-extra: 161.7 GB, 161661059072 bytes
255 heads, 63 sectors/track, 19654 cylinders, total 315744256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/bigdisk-extra doesn't contain a valid partition table
----------------------------
lvdisplay =>
--- Logical volume ---
LV Path /dev/bigdisk/backuppc
LV Name backuppc
VG Name bigdisk
LV UUID qzE56E-Jc8B-BEG9-Tmbe-HfKQ-OvfW-iVqfdw
LV Write Access read/write
LV Creation host, time ctech, 2013-05-11 16:21:37 -0700
LV Status available
# open 0
LV Size 465.00 GiB
Current LE 119040
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Path /dev/bigdisk/general
LV Name general
VG Name bigdisk
LV UUID Sdc7Oe-2pQk-3Lcr-gtCr-qKab-5iFw-SV0XQ3
LV Write Access read/write
LV Creation host, time ctech, 2013-05-11 16:22:09 -0700
LV Status available
# open 0
LV Size 465.00 GiB
Current LE 119040
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Path /dev/bigdisk/extra
LV Name extra
VG Name bigdisk
LV UUID 6iXc1l-DObr-3TyI-Mdc0-3Rk1-vO4Q-OaNMxs
LV Write Access read/write
LV Creation host, time ctech, 2013-05-11 16:30:31 -0700
LV Status available
# open 0
LV Size 150.56 GiB
Current LE 38543
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:2
--------------------------------
fstab =>
# /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>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=c78d8ea3-f271-4a31-9e0d-6733e1e512f3 / ext3
errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=c25450df-a26a-4e1f-9cae-f3976da09d3a none swap
sw 0 0
#UUID=521f978a-25d3-4cc0-abaf-7e2f837b62a0 /var/lib/backuppc ext4
errors=remount-ro 0 1
/dev/scd0 /media/cdrom0
udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0
auto rw,user,noauto 0 0
#/dev/mapper/bigdisk-extra /mnt/extra ext4
noatime 0 2
#/dev/mapper/bigdisk-backuppc /var/lib/backuppc ext4
noatime 0 2
#/dev/mapper/bigdisk-general /mnt/general ext4
noatime 0 2
The last 3 lines are the troublemakers.
/dev contains devices dm-0. dm-1 and dm-2 plus subdirectory mapper.
Mapper contains soft links bigdisk-backuppc, bigdisk-general and
bigdisk-extra to dm-0, dm-1 and dm-2 respectively.
Can anyone spot anything wrong?
Thanks in advance
Gary R.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/519157d2.80...@verizon.net