Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
clone ZFS volume and confirm partition table
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