Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@metal ~]# rm -rf /var/lib/docker
- [root@metal ~]# rm -rf /etc/sysconfig/docker-storage
- [root@metal ~]# container-storage-setup
- INFO: Wipe Signatures is set to true. Any signatures on /dev/sdb will be wiped.
- wipefs: error: /dev/sdb: probing initialization failed: Device or resource busy
- ERROR: Failed to wipe signatures on device /dev/sdb
- [root@metal ~]# vgremove docker-vg
- Do you really want to remove volume group "docker-vg" containing 1 logical volumes? [y/n]: y
- Do you really want to remove active logical volume docker-vg/docker-pool? [y/n]: y
- Logical volume "docker-pool" successfully removed
- Volume group "docker-vg" successfully removed
- [root@metal ~]# fdisk /dev/sdb
- Command (m for help): d
- Selected partition 1
- Partition 1 is deleted
- Command (m for help): w
- The partition table has been altered!
- Calling ioctl() to re-read partition table.
- Syncing disks.
- [root@metal ~]# container-storage-setup
- INFO: Wipe Signatures is set to true. Any signatures on /dev/sdb will be wiped.
- wipefs: error: /dev/sdb: probing initialization failed: Device or resource busy
- ERROR: Failed to wipe signatures on device /dev/sdb
- # **UGH** Now i have to do this to get it working...
- [root@metal ~]# multipath -l
- mpathb (Samsung_SSD_850_EVO_500GB_S2RANB0J105915L) dm-2 ATA ,Samsung SSD 850
- size=466G features='0' hwhandler='0' wp=rw
- `-+- policy='service-time 0' prio=0 status=active
- `- 0:0:0:0 sda 8:0 active undef unknown
- mpatha (SanDisk_SDSSDA120G_172964457409) dm-3 ATA ,SanDisk SDSSDA12
- size=112G features='0' hwhandler='0' wp=rw
- `-+- policy='service-time 0' prio=0 status=active
- `- 6:0:0:0 sdb 8:16 active undef unknown
- [root@metal ~]# multipath -f mpatha
- [root@metal ~]# container-storage-setup
- INFO: Wipe Signatures is set to true. Any signatures on /dev/sdb will be wiped.
- /dev/sdb: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
- /dev/sdb: calling ioclt to re-read partition table: Success
- INFO: Device node /dev/sdb1 exists.
- /dev/sdb1: 8 bytes were erased at offset 0x00000218 (LVM2_member): 4c 56 4d 32 20 30 30 31
- Physical volume "/dev/sdb1" successfully created.
- Volume group "docker-vg" successfully created
- Rounding up size to full physical extent 116.00 MiB
- Thin pool volume with chunk size 512.00 KiB can address at most 126.50 TiB of data.
- Logical volume "docker-pool" created.
- Logical volume docker-vg/docker-pool changed.
- ## finally!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement