WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen with LVM

Quoting "IDAGroup - R.W.Muller" <robin@xxxxxxxxxxx>:

Hello Errol, I tried that and get a little weird partition table:

sfdisk -l -uS /dev/vms/centos5_data

Disk /dev/vms/centos5_data: 0 cylinders, 0 heads, 0 sectors/track
Warning: The partition table looks like it was made
 for C/H/S=*/255/63 (instead of 0/0/0).
For this listing I'll assume that geometry.
Units = sectors of 512 bytes, counting from 0

  Device Boot    Start       End   #sectors  Id  System
/dev/vms/centos5_data1   *        63   3068414    3068352  83  Linux
/dev/vms/centos5_data2             0         -          0   0  Empty
/dev/vms/centos5_data3             0         -          0   0  Empty
/dev/vms/centos5_data4             0         -          0   0  Empty

I wouldn't worry too much about that. sfdisk is probably just confused. Since the file doesn't have a ioctl, that would be my guess


Now I just have to find out, how I can get ride of the Empty partitions
and how to use snapshot for backup and I'm getting closer
to a usable result :)

lvcreate -L1G -n vmsnap /dev/vms/centos5_data

Then mount it as above. Keep in mind that for snapshots, all changes to the live volume are written to the COW table on the snapshot volume. Make sure you allocate enough space for this.

-Errol

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>