Hi,
I have an Ubuntu 12.04.3 server as an NFS server. I use the kernel server. When I create a qcow2 image, the file file gets created and Proxmox times out waiting for a lock. I've tried with both NFSv3 and NFSv4. NFSV4 is considerably faster at the disk image creation, but not fast enough.
# ls -lh
total 33G
-rw-r--r-- 1 root root 33G Jan 6 17:09 vm-102-disk-1.qcow2
# du -h --apparent-size
33G .
# ls -lks
total 34079304
34079304 -rw-r--r-- 1 root root 33559808 Jan 6 17:09 vm-102-disk-1.qcow2
# du --block-size=1 vm-102-disk-1.qcow2
34897207296 vm-102-disk-1.qcow2
Is anyone able to use the Linux NFS kernel server and get sparse qcow2 files created succesfully? If so, how? What am I missing?
Gerald
NFS over XFS
# pveversion --verbose
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-24 (running version: 3.1-24/060bd5a6)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-19-pve: 2.6.32-96
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-9
libpve-access-control: 3.0-8
libpve-storage-perl: 3.0-18
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-6
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1
I have an Ubuntu 12.04.3 server as an NFS server. I use the kernel server. When I create a qcow2 image, the file file gets created and Proxmox times out waiting for a lock. I've tried with both NFSv3 and NFSv4. NFSV4 is considerably faster at the disk image creation, but not fast enough.
# ls -lh
total 33G
-rw-r--r-- 1 root root 33G Jan 6 17:09 vm-102-disk-1.qcow2
# du -h --apparent-size
33G .
# ls -lks
total 34079304
34079304 -rw-r--r-- 1 root root 33559808 Jan 6 17:09 vm-102-disk-1.qcow2
# du --block-size=1 vm-102-disk-1.qcow2
34897207296 vm-102-disk-1.qcow2
Is anyone able to use the Linux NFS kernel server and get sparse qcow2 files created succesfully? If so, how? What am I missing?
Gerald
NFS over XFS
# pveversion --verbose
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-24 (running version: 3.1-24/060bd5a6)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-19-pve: 2.6.32-96
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-9
libpve-access-control: 3.0-8
libpve-storage-perl: 3.0-18
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-6
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1
Last edited: