[Starlingx-discuss] drbd is allocated in wrong space

zhou 18245043314 at 163.com
Sat May 2 14:07:38 UTC 2020


Dear sir:


I was trying to install all-in-one stx on bare metal environment. I am suprised to find that the drbd allocation was not right. the lsblk is showed below:


sda                                   8:0    0  3.3T  0 disk 
├─sda1                                8:1    0    1M  0 part 
├─sda2                                8:2    0  500M  0 part /boot
├─sda3                                8:3    0 19.5G  0 part /
└─sda4                                8:4    0  229G  0 part 
  ├─cgts--vg-scratch--lv            253:0    0  7.8G  0 lvm  /scratch
  ├─cgts--vg-log--lv                253:1    0  7.8G  0 lvm  /var/log
  ├─cgts--vg-extension--lv          253:2    0    1G  0 lvm  
  ├─cgts--vg-pgsql--lv              253:3    0    2G  0 lvm  
  ├─cgts--vg-docker--lv             253:4    0   30G  0 lvm  /var/lib/docker
  ├─cgts--vg-kubelet--lv            253:5    0   10G  0 lvm  /var/lib/kubelet
  ├─cgts--vg-etcd--lv               253:6    0    5G  0 lvm  
  │ └─drbd7                         147:7    0    5G  0 disk 
  ├─cgts--vg-backup--lv             253:7    0    5G  0 lvm  /opt/backups
  ├─cgts--vg-dockerdistribution--lv 253:8    0    1G  0 lvm  
  ├─cgts--vg-rabbit--lv             253:9    0    2G  0 lvm  
  └─cgts--vg-platform--lv           253:10   0   10G  0 lvm  
    └─drbd2                         147:2    0   10G  0 disk /opt/platform
sdb                                   8:16   0  3.3T  0 disk 
drbd0                               147:0    0    2G  0 disk /var/lib/postgresql
drbd1                               147:1    0    2G  0 disk /var/lib/rabbitmq
drbd5                               147:5    0 1024M  0 disk /opt/extension
drbd8                               147:8    0 1024M  0 disk /var/lib/docker-distribution


you can see the drbd 0 1 5 8 are not in right place. They should appear under sda like this:




NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 600G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 500M 0 part /boot
├─sda3 8:3 0 19.5G 0 part /
├─sda4 8:4 0 229G 0 part
│ ├─cgts--vg-scratch--lv 253:0 0 8G 0 lvm /scratch
│ ├─cgts--vg-log--lv 253:1 0 7.8G 0 lvm /var/log
│ ├─cgts--vg-extension--lv 253:2 0 1G 0 lvm
│ │ └─drbd5 147:5 0 1024M 1 disk
│ ├─cgts--vg-pgsql--lv 253:3 0 20G 0 lvm
│ ├─cgts--vg-docker--lv 253:4 0 30G 0 lvm /var/lib/docker
│ ├─cgts--vg-kubelet--lv 253:5 0 10G 0 lvm /var/lib/kubelet
│ ├─cgts--vg-etcd--lv 253:6 0 5G 0 lvm
│ │ └─drbd7 147:7 0 5G 1 disk
│ ├─cgts--vg-backup--lv 253:7 0 25G 0 lvm /opt/backups
│ ├─cgts--vg-dockerdistribution--lv 253:8 0 16G 0 lvm
│ │ └─drbd8 147:8 0 16G 1 disk
│ ├─cgts--vg-rabbit--lv 253:9 0 2G 0 lvm
│ │ └─drbd1 147:1 0 2G 1 disk
│ ├─cgts--vg-platform--lv 253:10 0 10G 0 lvm
│ │ └─drbd2 147:2 0 10G 1 disk
│ └─cgts--vg-ceph--mon--lv 253:11 0 20G 0 lvm /var/lib/ceph/mon
└─sda5 8:5 0 34G 0 part
sdb 8:16 0 200G 0 disk
├─sdb1 8:17 0 199G 0 part /var/lib/ceph/osd/ceph-0
└─sdb2 8:18 0 1G 0 part
sdc 8:32 0 200G 0 disk
sr0 11:0 1 1.9G 0 rom


do you have any method to solve that problem?


yours,
zhou qingyang



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20200502/b4019463/attachment.html>


More information about the Starlingx-discuss mailing list