Hello,
yesterday, I added a second disk to my server, created with cfdisk a primary partition with LVM and formatted the whole LVM-Partition with ext3 (mkfs.ext3 /dev/sdb1). I want the disk to be the storage target of all local VMs to have it separated to the system harddisk.
mount-table:
#############
isis:/backup# mount
/dev/pve/root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
/dev/sdb1 on /backup type ext3 (rw)
#############
After that, I wanted to make a snapshot (vzdump --dumpdir /backup/20080831 --snapshot 101) that results in an error.
#############
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
INFO: starting backup for VPS 101 (/var/lib/vz/private/101)
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 699.
INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev//vzsnap')
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 701.
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 701.
"/dev//": Invalid path for Logical Volume
The origin name should include the volume group.
lvcreate: Create a logical volume
/-snip-/
umount: /vzsnap: not mounted
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 51044614144: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
Volume group "vzsnap" not found
ERROR: creating backup for VPS 101 failed (0.00 minutes): command '/sbin/lvcreate --size 500m --snapshot --name vzsnap /dev// ' failed with exit code 3 at /usr/bin/vzdump line 306.
#############
The 101 had a hostname with a "-" (radius-01), but I changed that to radius01.
Did I something wrong or doesn't snapshot like any aditional disks after installing.
I also have to say, that I don't use the beta2. I don't want to upgrade with apt. A new clean install with CD is my prefered way which I will do when I'm in the serverroom again.
thanks a lot for your help,
Patrick
yesterday, I added a second disk to my server, created with cfdisk a primary partition with LVM and formatted the whole LVM-Partition with ext3 (mkfs.ext3 /dev/sdb1). I want the disk to be the storage target of all local VMs to have it separated to the system harddisk.
mount-table:
#############
isis:/backup# mount
/dev/pve/root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
/dev/sdb1 on /backup type ext3 (rw)
#############
After that, I wanted to make a snapshot (vzdump --dumpdir /backup/20080831 --snapshot 101) that results in an error.
#############
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
INFO: starting backup for VPS 101 (/var/lib/vz/private/101)
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 699.
INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev//vzsnap')
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 701.
Use of uninitialized value in concatenation (.) or string at /usr/bin/vzdump line 701.
"/dev//": Invalid path for Logical Volume
The origin name should include the volume group.
lvcreate: Create a logical volume
/-snip-/
umount: /vzsnap: not mounted
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 51044614144: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error
Volume group "vzsnap" not found
ERROR: creating backup for VPS 101 failed (0.00 minutes): command '/sbin/lvcreate --size 500m --snapshot --name vzsnap /dev// ' failed with exit code 3 at /usr/bin/vzdump line 306.
#############
The 101 had a hostname with a "-" (radius-01), but I changed that to radius01.
Did I something wrong or doesn't snapshot like any aditional disks after installing.
I also have to say, that I don't use the beta2. I don't want to upgrade with apt. A new clean install with CD is my prefered way which I will do when I'm in the serverroom again.
thanks a lot for your help,
Patrick