Last sector, +sectors or +size{K,M,G} (53248-104447, default 104447): Using default value 104447
Command (m for help):
-Disk /dev/sdb: 53 MB, 53477376 bytes
+Disk /dev/...: 53 MB, 53477376 bytes
32 heads, 32 sectors/track, 102 cylinders, total 104448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Device Boot Start End Blocks Id System
-/dev/sdb1 2048 53247 25600 83 Linux
-/dev/sdb2 53248 104447 25600 83 Linux
+/dev/...1 2048 53247 25600 83 Linux
+/dev/...2 53248 104447 25600 83 Linux
Command (m for help): The partition table has been altered!
Last sector, +sectors or +size{K,M,G} (90112-102399, default 102399): Using default value 102399
Command (m for help):
-Disk /dev/sdb: 52 MB, 52428800 bytes
+Disk /dev/...: 52 MB, 52428800 bytes
32 heads, 32 sectors/track, 100 cylinders, total 102400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Device Boot Start End Blocks Id System
-/dev/sdb1 2048 22527 10240 83 Linux
-/dev/sdb2 22528 43007 10240 83 Linux
-/dev/sdb3 43008 63487 10240 83 Linux
-/dev/sdb4 63488 102399 19456 5 Extended
-/dev/sdb5 65536 75775 5120 83 Linux
-/dev/sdb6 77824 88063 5120 83 Linux
-/dev/sdb7 90112 102399 6144 83 Linux
+/dev/...1 2048 22527 10240 83 Linux
+/dev/...2 22528 43007 10240 83 Linux
+/dev/...3 43008 63487 10240 83 Linux
+/dev/...4 63488 102399 19456 5 Extended
+/dev/...5 65536 75775 5120 83 Linux
+/dev/...6 77824 88063 5120 83 Linux
+/dev/...7 90112 102399 6144 83 Linux
Command (m for help): The partition table has been altered!
Last sector, +sectors or +size{K,M,G} (88063-102399, default 102399): Using default value 102399
Command (m for help):
-Disk /dev/sdb: 52 MB, 52428800 bytes
+Disk /dev/...: 52 MB, 52428800 bytes
32 heads, 32 sectors/track, 100 cylinders, total 102400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Device Boot Start End Blocks Id System
-/dev/sdb1 7 20486 10240 83 Linux
-/dev/sdb2 20487 40966 10240 83 Linux
-/dev/sdb3 40967 61446 10240 83 Linux
-/dev/sdb4 61447 102399 20476+ 5 Extended
-/dev/sdb5 63487 73726 5120 83 Linux
-/dev/sdb6 75775 86014 5120 83 Linux
-/dev/sdb7 88063 102399 7168+ 83 Linux
+/dev/...1 7 20486 10240 83 Linux
+/dev/...2 20487 40966 10240 83 Linux
+/dev/...3 40967 61446 10240 83 Linux
+/dev/...4 61447 102399 20476+ 5 Extended
+/dev/...5 63487 73726 5120 83 Linux
+/dev/...6 75775 86014 5120 83 Linux
+/dev/...7 88063 102399 7168+ 83 Linux
Command (m for help): The partition table has been altered!
Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): Using default value 102399
Command (m for help):
-Disk /dev/sdb: 52 MB, 52428800 bytes
+Disk /dev/...: 52 MB, 52428800 bytes
32 heads, 32 sectors/track, 100 cylinders, total 102400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Device Boot Start End Blocks Id System
-/dev/sdb1 2048 43007 20480 83 Linux
-/dev/sdb2 43008 102399 29696 83 Linux
+/dev/...1 2048 43007 20480 83 Linux
+/dev/...2 43008 102399 29696 83 Linux
Command (m for help): The partition table has been altered!
Last sector, +sectors or +size{K,M,G} (90112-102399, default 102399): Using default value 102399
Command (m for help):
-Disk /dev/sdb: 52 MB, 52428800 bytes
+Disk /dev/...: 52 MB, 52428800 bytes
32 heads, 32 sectors/track, 100 cylinders, total 102400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Device Boot Start End Blocks Id System
-/dev/sdb1 2048 22527 10240 83 Linux
-/dev/sdb2 22528 43007 10240 83 Linux
-/dev/sdb3 43008 63487 10240 83 Linux
-/dev/sdb4 63488 102399 19456 5 Extended
-/dev/sdb5 65536 75775 5120 83 Linux
-/dev/sdb6 77824 88063 5120 83 Linux
-/dev/sdb7 90112 102399 6144 83 Linux
+/dev/...1 2048 22527 10240 83 Linux
+/dev/...2 22528 43007 10240 83 Linux
+/dev/...3 43008 63487 10240 83 Linux
+/dev/...4 63488 102399 19456 5 Extended
+/dev/...5 65536 75775 5120 83 Linux
+/dev/...6 77824 88063 5120 83 Linux
+/dev/...7 90112 102399 6144 83 Linux
Command (m for help): The partition table has been altered!
sleep 3
rmmod scsi_debug
-# remove disk ID and generated UUIDs
+# remove device name used, disk ID and generated UUIDs
+sed -i -e "s/\/dev\/${DEVNAME}/\/dev\/.../g" $TS_OUTPUT
sed -i -e 's/Disk identifier:.*//g' $TS_OUTPUT
sed -i -e 's/Building a new.*//g' $TS_OUTPUT
sed -i -e 's/ID_FS_UUID.*//g' $TS_OUTPUT
sleep 3
rmmod scsi_debug
-# remove disk ID
+# remove device name used and disk ID
+sed -i -e "s/\/dev\/${DEVNAME}/\/dev\/.../g" $TS_OUTPUT
sed -i -e 's/Disk identifier:.*//g' $TS_OUTPUT
sed -i -e 's/Building a new.*//g' $TS_OUTPUT
sleep 3
rmmod scsi_debug
-# remove disk ID
+# remove device name used and disk ID
+sed -i -e "s/\/dev\/${DEVNAME}/\/dev\/.../g" $TS_OUTPUT
sed -i -e 's/Disk identifier:.*//g' $TS_OUTPUT
sed -i -e 's/Building a new.*//g' $TS_OUTPUT
/sbin/mdadm -q -S ${MD_DEVICE} >> $TS_OUTPUT 2>&1
rmmod scsi_debug
-# remove disk ID
+# remove device name used and disk ID
+sed -i -e "s/\/dev\/${DEVNAME}/\/dev\/.../g" $TS_OUTPUT
sed -i -e 's/Disk identifier:.*//g' $TS_OUTPUT
sed -i -e 's/Building a new.*//g' $TS_OUTPUT
sleep 3
rmmod scsi_debug
-# remove disk ID
+# remove device name used and disk ID
+sed -i -e "s/\/dev\/${DEVNAME}/\/dev\/.../g" $TS_OUTPUT
sed -i -e 's/Disk identifier:.*//g' $TS_OUTPUT
sed -i -e 's/Building a new.*//g' $TS_OUTPUT