512M is not enough for generic/129, generic/213 and generic/247. Raise default tmpfs size to 1G. Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx> Signed-off-by: Junho Ryu <jayr@xxxxxxxxxx> --- v2: same as v1 common/rc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/rc b/common/rc index bfd29c7..73e9f34 100644 --- a/common/rc +++ b/common/rc @@ -113,8 +113,8 @@ _mount_opts() export MOUNT_OPTIONS="-o acl $GFS2_MOUNT_OPTIONS" ;; tmpfs) - # We need to specify the size at mount, use 512 MB by default - export MOUNT_OPTIONS="-o size=512M $TMPFS_MOUNT_OPTIONS" + # We need to specify the size at mount + export MOUNT_OPTIONS="-o size=${DEFAULT_TMPFS_SIZE_MB}M $TMPFS_MOUNT_OPTIONS" ;; *) ;; @@ -168,6 +168,8 @@ _fsck_opts() } [ -z "$FSTYP" ] && FSTYP=xfs +# Default tmpfs size in megabytes. +[ -z "$DEFAULT_TMPFS_SIZE_MB" ] && DEFAULT_TMPFS_SIZE_MB=1024 [ -z "$MOUNT_OPTIONS" ] && _mount_opts [ -z "$MKFS_OPTIONS" ] && _mkfs_opts [ -z "$FSCK_OPTIONS" ] && _fsck_opts -- 1.8.5.1 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs