DeepSea
DeepSea copied to clipboard
proposal.peek arguments
When in virtual environments, all the disks are rotational. What is the correct command to generate a 1:6 profile with the 60G as the wal/db for the following:
lsblk
ses-poc-node3:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 30G 0 disk
|-sda1 8:1 0 1G 0 part /boot
`-sda2 8:2 0 29G 0 part /
sdb 8:16 0 14G 0 disk
`-sdb1 8:17 0 14G 0 part /mnt/resource
sdc 8:32 0 1023G 0 disk
sdd 8:48 0 1023G 0 disk
sde 8:64 0 1023G 0 disk
sdf 8:80 0 1023G 0 disk
sdg 8:96 0 1023G 0 disk
sdh 8:112 0 1023G 0 disk
sdi 8:128 0 60G 0 disk
cephdisks.list
<snip>
|_
----------
Attached to:
#10 (Storage controller)
Bytes:
1098437885952
Capacity:
1023 GB
Config Status:
cfg=new, avail=yes, need=no, active=unknown
Device:
Virtual Disk
Device File:
/dev/sdh
Device Files:
/dev/sdh, /dev/disk/azure/scsi1/lun5, /dev/disk/by-id/scsi-14d53465420202020d7473524f361844d82efae5716e6eae8, /dev/disk/by-id/scsi-360022480d7473524f361ae5716e6eae8, /dev/disk/by-id/wwn-0x60022480d7473524f361ae5716e6eae8, /dev/disk/by-path/acpi-VMBUS:01-scsi-0:0:0:5
Device Number:
block 8:112-8:127 (char 21:7)
Driver:
hv_storvsc, sd
Driver Modules:
hv_storvsc, sd_mod
Geometry (Logical):
CHS 133544/255/63
Hardware Class:
disk
Model:
Msft Virtual Disk
Parent ID:
6BHw._MRqCCSoEWE
Revision:
1.0
Serial ID:
./../../../../../../../../bus/sc
Size:
2145386496 sectors a 512 bytes
SysFS BusID:
5:0:0:5
SysFS Device Link:
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/f8b3781b-1e82-4818-a1c3-63d806ec15bb/host5/target5:0:0/5:0:0:5
SysFS ID:
/class/block/sdh
Unique ID:
dNVq.lOaufH5N2X9
Vendor:
Msft
device:
sdh
rotational:
1
|_
----------
Attached to:
#10 (Storage controller)
Bytes:
64424509440
Capacity:
60 GB
Config Status:
cfg=new, avail=yes, need=no, active=unknown
Device:
Virtual Disk
Device File:
/dev/sdi
Device Files:
/dev/sdi, /dev/disk/azure/scsi1/lun6, /dev/disk/by-id/scsi-14d5346542020202062538175262cb245a6ccf3d6b1f53da5, /dev/disk/by-id/scsi-36002248062538175262cf3d6b1f53da5, /dev/disk/by-id/wwn-0x6002248062538175262cf3d6b1f53da5, /dev/disk/by-path/acpi-VMBUS:01-scsi-0:0:0:6
Device Number:
block 8:128-8:143 (char 21:8)
Driver:
hv_storvsc, sd
Driver Modules:
hv_storvsc, sd_mod
Geometry (Logical):
CHS 7832/255/63
Hardware Class:
disk
Model:
Msft Virtual Disk
Parent ID:
6BHw._MRqCCSoEWE
Revision:
1.0
Serial ID:
./../../../../../../../../bus/sc
Size:
125829120 sectors a 512 bytes
SysFS BusID:
5:0:0:6
SysFS Device Link:
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/f8b3781b-1e82-4818-a1c3-63d806ec15bb/host5/target5:0:0/5:0:0:6
SysFS ID:
/class/block/sdi
Unique ID:
4Zlu.lOaufH5N2X9
Vendor:
Msft
device:
sdi
rotational:
1
salt-run proposal.peek db=58-62 wal=58-62 data=900-1100 name=azure db-size=5g wal-size=1g
<snip>
{'ses-poc-node3': {'/dev/disk/by-id/scsi-14d534654202020204636a9901f2669439c13284bcb688021': {'format': 'bluestore'},
'/dev/disk/by-id/scsi-14d534654202020204aa79e8781b00b40a314951daa7a7af6': {'format': 'bluestore'},
'/dev/disk/by-id/scsi-14d5346542020202086b4a517f613194bb8a0a858068cc004': {'format': 'bluestore'},
'/dev/disk/by-id/scsi-14d53465420202020887d939b3405654a8417c0cc22e5cf6b': {'format': 'bluestore'},
'/dev/disk/by-id/scsi-14d53465420202020d7473524f361844d82efae5716e6eae8': {'format': 'bluestore'},
'/dev/disk/by-id/scsi-14d53465420202020f5573bd304b3ce44859649a5d740981e': {'format': 'bluestore'}}}
<snip>
The expectation is that one of the long names of /dev/sdi would appear in the proposal.peek output as both the wal and db device with the additional size attributes.