Created
November 3, 2020 21:17
-
-
Save kbruner/e3085004775b77a85f63da8d5825eed5 to your computer and use it in GitHub Desktop.
clone ZFS volume and confirm partition table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@nucklehead:~ # zfs snapshot zvol/zroot/debianguest0@yesterday | |
root@nucklehead:~ # zfs clone zvol/zroot/debianguest0@yesterday zvol/zroot/debianguest1 | |
root@nucklehead:~ # fdisk /dev/zvol/zroot/debianguest1 | |
******* Working on device /dev/zvol/zroot/debianguest1 ******* | |
parameters extracted from in-core disklabel are: | |
cylinders=261 heads=255 sectors/track=63 (16065 blks/cyl) | |
parameters to be used for BIOS calculations are: | |
cylinders=261 heads=255 sectors/track=63 (16065 blks/cyl) | |
Media sector size is 512 | |
Warning: BIOS sector numbering starts with sector 1 | |
Information from DOS bootblock is: | |
The data for partition 1 is: | |
sysid 131 (0x83),(Linux native) | |
start 2048, size 4190208 (2046 Meg), flag 80 (active) | |
beg: cyl 0/ head 32/ sector 33; | |
end: cyl 260/ head 243/ sector 47 | |
The data for partition 2 is: | |
<UNUSED> | |
The data for partition 3 is: | |
<UNUSED> | |
The data for partition 4 is: | |
<UNUSED> | |
root@nucklehead:~ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment