Skip to content

Commit

Permalink
added autoexpand=on for pool
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Chuprina committed Jul 29, 2017
1 parent 413290d commit 5c3111b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian-stretch-zfs-root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ sleep 2
# Workaround for Debian's grub, especially grub-probe, not supporting all ZFS features
# Using "-d" to disable all features, and selectivly enable features later (but NOT 'hole_birth' and 'embedded_data')
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776676
zpool create -f -o ashift=12 -d -o altroot=/target -O atime=off -O mountpoint=none $ZPOOL $RAIDDEF
zpool create -f -o ashift=12 -d -o altroot=/target -o autoexpand=on -O atime=off -O mountpoint=none $ZPOOL $RAIDDEF
if [ $? -ne 0 ] ; then
echo "Unable to create zpool '$ZPOOL'" >&2
exit 1
Expand Down

1 comment on commit 5c3111b

@eturkes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openzfs/zfs#120

Autoexpand functionality is still an open issue, I recommend not setting it as default for now.

Please sign in to comment.