[Bugs] [Bug 1351626] Clear up space on inactive netbsd machines
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 20 08:14:49 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1351626
--- Comment #4 from Nigel Babu <nigelb at redhat.com> ---
We have lots of space left on our existing machines. From Emmanuel on
gluster-infra@
That is the case: diskabel xbd0 says
# size offset fstype [fsize bsize cpg/sgs]
a: 19922881 63 4.2BSD 2048 16384 0 # (Cyl. 0*- 9727)
b: 4194304 19922944 swap # (Cyl. 9728 - 11775)
c: 20971457 63 unused 0 0 # (Cyl. 0*- 10239)
d: 83886080 0 unused 0 0 # (Cyl. 0 - 40959)
e: 8388608 24117248 4.2BSD 2048 16384 0 # (Cyl. 11776 - 15871)
NetBSD has some historic curiosity: c is the NetBSD partition in MBR, d is
the whole disk. This means you have 51380224 sectors of 512 bytes left after
partiton e: 24 GB.
Run disklabel -e xbd0 and add a f line:
f: 51380161 32505856 4.2BSD 2048 16384 0
While there it will not hurt to resize c (for the sake of clarity)
c: 83886017 63 unused 0 0
And still while there, fdisk -iau xbd0 to ajust NetBSD partiton size in MBR.
Then you can
newfs /dev/rxbd0f
add /dev/xbd0f in :etc/fstab
mount /dev/xbd0f
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list