projects
/
zfsinstaller.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d3120cf
)
fix boot partition size
author
David Marec
<DavidMarec@users.noreply.github.com>
Sun, 7 Oct 2018 21:02:51 +0000
(23:02 +0200)
committer
David Marec
<DavidMarec@users.noreply.github.com>
Sun, 7 Oct 2018 21:02:51 +0000
(23:02 +0200)
zfsinstall.sh
patch
|
blob
|
history
diff --git
a/zfsinstall.sh
b/zfsinstall.sh
index f78c88f26de1403dccb4515aaf821aa294ddde26..9be6c573cd41fbc4ef7be741456ae33c8d8ab2e4 100644
(file)
--- a/
zfsinstall.sh
+++ b/
zfsinstall.sh
@@
-33,12
+33,12
@@
echo partitioning ${DESTDISK}
echo =============
gpart create -s gpt ${DESTDISK}
echo =============
gpart create -s gpt ${DESTDISK}
-gpart add -
a 1m -t freebsd-boot -s 128k
-l boot ${DESTDISK}
+gpart add -
t freebsd-boot -s 1024
-l boot ${DESTDISK}
gpart add -a 1m -s 32G -t freebsd-swap -l swap ${DESTDISK}
gpart add -a 1m -s 32G -t freebsd-swap -l swap ${DESTDISK}
-gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${DESTDISK}
gpart add -a 1m -t freebsd-zfs -l syszfs ${DESTDISK}
gpart add -a 1m -t freebsd-zfs -l syszfs ${DESTDISK}
+gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ${DESTDISK}
-gpart show ${DESTDISK}
1>/dev/null
+gpart show ${DESTDISK}
sysctl vfs.zfs.min_auto_ashift=12
sysctl vfs.zfs.min_auto_ashift=12