Use gdisk instead of fdisk because easier to see.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 16 Nov 2018 16:36:15 +0000 (16:36 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 16 Nov 2018 16:36:15 +0000 (16:36 +0000)
2019-fosdem/5000-single-fs-next
2019-fosdem/5500-raid-next

index 9375f8d..972fcbb 100755 (executable)
@@ -6,7 +6,7 @@ source functions
 remember 'nbdkit --filter=log --filter=delay memory size=64M logfile=/tmp/log rdelay=50ms wdelay=50ms'
 remember './nbdview.tcl /tmp/log 67108864 &'
 remember 'sudo nbd-client -b 512 localhost /dev/nbd0'
-remember 'sudo fdisk /dev/nbd0'
+remember 'sudo gdisk /dev/nbd0'
 remember 'sudo mkfs -t ext4 /dev/nbd0p1'
 remember 'sudo mount /dev/nbd0p1 /tmp/mnt'
 remember 'sudo chown rjones /tmp/mnt/'
index 2c3d135..e3d02e1 100755 (executable)
@@ -7,7 +7,7 @@ remember 'i=1; rm -f sock$i; nbdkit -U sock$i --filter=error --filter=log --filt
 remember './nbdraid.tcl 5 67108864 log%s error%s &'
 remember 'i=1; sudo nbd-client -unix sock$i -b 512 /dev/nbd$((i-1))'
 remember 'sudo mdadm --create /dev/md0 --level=5 --raid-devices=4 /dev/nbd{0,1,2,3} --spare-devices=1 /dev/nbd4'
-remember 'sudo fdisk /dev/md0'
+remember 'sudo gdisk /dev/md0'
 remember 'sudo mkfs -t ext4 /dev/md0p1'
 remember 'sudo mount /dev/md0p1 /tmp/mnt'
 remember 'sudo chown rjones /tmp/mnt/'