[SOLVED] Where is drbd drive mounted

jmituzas

New Member
Aug 17, 2011
11
0
1
I have numerous qcow2 files that need converting and moved to drbd drive. Any ideas on where it is located?

root@pve1:~# pveversion -v
proxmox-ve: 4.2-48 (running kernel: 4.4.6-1-pve)
pve-manager: 4.2-4 (running version: 4.2-4/2660193c)
pve-kernel-4.4.6-1-pve: 4.4.6-48
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-39
qemu-server: 4.0-74
pve-firmware: 1.1-8
libpve-common-perl: 4.0-60
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-50
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-16
pve-container: 1.0-63
pve-firewall: 2.0-26
pve-ha-manager: 1.0-31
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve9~jessie
drbdmanage: 0.95-1


nano /etc/fstab:
/dev/cciss/c0d0p4 /VPS-Storage/drbd ext4 errors=remount-ro 0 1

root@pve1:~# mount -a
mount: /dev/cciss/c0d0p4 is already mounted or /VPS-Storage/drbd busy

root@pve1:~# file -s /dev/cciss/c0d0p4
/dev/cciss/c0d0p4: LVM2 PV (Linux Logical Volume Manager), UUID: 2r06xl-ZP7a-q2XD-Vfpu-l80X-1AFi-ujdsYi, size: 117041790464
 
Last edited:
you can use the GUI to move the disk to other storages, e.g. qcow2 to DRBD ("move disk")
 
In this file if you add red text, you will se resource in gui :)

root@node2:/etc/pve# cat storage.cfg

dir: local
path /var/lib/vz
content iso,vztmpl
shared
maxfiles 0

lvmthin: local-lvm
vgname pve
thinpool data
content rootdir,images

drbd: drbd1
nodes node2,node4
content rootdir,images
redundancy 2


nfs: backup
export /volume1/backup
server 172.16.36.99
path /mnt/pve/backup
maxfiles 5
options vers=3
content vztmpl,backup,images,rootdir,iso

dir: lokalnie
path /mnt/lokalnie
content vztmpl,backup,images,rootdir,iso
maxfiles 1
 
For some reason i'm logged in as root and I don't have the option to move or upload any of my disks :/

you cannot upload, but you can move existing disks (go to your VM, select the virtual disk, then you can "move")
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!