I'm in way over my head. I just want to throw that out there before I begin.
The task I wish to accomplish is to share a single disk and have part of it be the FreeBSD UFS file system, another part FreeBSD Swap, and the rest be a ZFS pool.
Here is what I have so far:
I thought all i would have to do is:
I logged in to single user mode and tried it there and got the same "permission denied" message.
Another guess of mine is that it need to shrink the "amrd0s1" to only what "/" and Swap are using (28GB) and create an "amrd0s2" and do:
But I don't know how to do that.
I've googled like crazy and now have a pounding headache. If someone could help me out that would be amazing.
Thank you for your time.
-Cody
The task I wish to accomplish is to share a single disk and have part of it be the FreeBSD UFS file system, another part FreeBSD Swap, and the rest be a ZFS pool.
Here is what I have so far:
Code:
# ls /dev | grep amrd0
amrd0
amrd0s1
amrd0s1a
amrd0s1b
amrd0s1c
Code:
# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/amrd0s1b none swap sw 0 0
/dev/amrd0s1a / ufs rw 1 1
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
Code:
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/amrd0s1a 19G 4.1G 14G 23% /
devfs 1.0K 1.0K 0B 100% /dev
Code:
# top | grep Swap
Swap: 8192M Total, 8192M Free
Code:
# fdisk
******* Working on device /dev/amrd0 *******
parameters extracted from in-core disklabel are:
cylinders=88750 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=88750 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 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1425768687 (696176 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
Code:
# zpool create tank amrd0s1c
cannot create 'tank': permission denied
Another guess of mine is that it need to shrink the "amrd0s1" to only what "/" and Swap are using (28GB) and create an "amrd0s2" and do:
Code:
# zpool create tank amrd0s2
I've googled like crazy and now have a pounding headache. If someone could help me out that would be amazing.
Thank you for your time.
-Cody