Hello everyone,
I'm trying to set up ceph stoare on my 4 node cluster.
The problem is I cannot use the disks.
In the GUI they are marked as in use for LVM.
In CLI it just uotputs this:
I've tried MBR and GPT partition table.
Tried zaping disk and the dd solution as described in the wiki.
At first I thought this was because of multipath (I also have MPIO iSCSI).
Also tried plugging in the disks after reboot with multipath tools turned off.
The disks are not mounted in any way:
Any ideas?
I'm trying to set up ceph stoare on my 4 node cluster.
The problem is I cannot use the disks.
In the GUI they are marked as in use for LVM.
In CLI it just uotputs this:
Code:
root@pm02:~# pveceph createosd /dev/sdk -journal_dev /dev/sdj
device '/dev/sdk' is in use
root@pm02:~#
Tried zaping disk and the dd solution as described in the wiki.
At first I thought this was because of multipath (I also have MPIO iSCSI).
Also tried plugging in the disks after reboot with multipath tools turned off.
The disks are not mounted in any way:
Code:
root@pm02:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=6179463,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=4945336k,mode=755)
/dev/mapper/pve-root on / type ext3 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=9890660k)
/dev/mapper/pve-data on /var/lib/vz type ext3 (rw,relatime,data=ordered)
/dev/sda2 on /boot type ext3 (rw,relatime,data=ordered)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
none on /sys/kernel/config type configfs (rw,relatime)
10.100.1.252:/mnt/vol00/nfspm on /mnt/pve/nfspm type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.100.1.252,mountvers=3,mountport=695,mountproto=udp,local_lock=none,addr=10.100.1.252)
Code:
root@pm02:~# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg_sata2-01" using metadata type lvm2
Found volume group "vg_sata2-03" using metadata type lvm2
Found volume group "vg_sata2-02" using metadata type lvm2
Found volume group "vg_sata2-00" using metadata type lvm2
Found volume group "pve" using metadata type lvm2
Code:
root@pm02:~# lvscan
inactive '/dev/vg_sata2-01/vm-101-disk-1' [927.00 GiB] inherit
inactive '/dev/vg_sata2-02/vm-102-disk-1' [927.00 GiB] inherit
inactive '/dev/vg_sata2-00/vm-100-disk-1' [10.00 GiB] inherit
ACTIVE '/dev/pve/swap' [13.88 GiB] inherit
ACTIVE '/dev/pve/root' [27.75 GiB] inherit
ACTIVE '/dev/pve/data' [55.79 GiB] inherit
root@pm02:~#
Any ideas?
Last edited: