diff options
author | Dominic Schlegel <dominic.schlegel@hostpoint.ch> | 2018-03-27 10:10:42 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2018-03-27 10:10:42 -0400 |
commit | 20e3ddab7f55c2bf5e700c69fd24a0ac2206dbcf (patch) | |
tree | 37fb7d7b6b27de671267ee5bd5c4fb1e9775127c /tests/data | |
parent | 4fe40704bfb998588d6a96b4a2773ddc9bd692ac (diff) | |
download | vyos-cloud-init-20e3ddab7f55c2bf5e700c69fd24a0ac2206dbcf.tar.gz vyos-cloud-init-20e3ddab7f55c2bf5e700c69fd24a0ac2206dbcf.zip |
FreeBSD: resizefs module now able to handle zfs/zpool.
Previously there was no support at all for zfs file system. With this
change it is now possible to use the resizefs module to grow a zpool to
its maximum partition size on FreeBSD.
LP: #1721243
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/mount_parse_ext.txt | 19 | ||||
-rw-r--r-- | tests/data/mount_parse_zfs.txt | 21 | ||||
-rw-r--r-- | tests/data/zpool_status_simple.txt | 10 |
3 files changed, 50 insertions, 0 deletions
diff --git a/tests/data/mount_parse_ext.txt b/tests/data/mount_parse_ext.txt new file mode 100644 index 00000000..da0c870d --- /dev/null +++ b/tests/data/mount_parse_ext.txt @@ -0,0 +1,19 @@ +/dev/mapper/vg00-lv_root on / type ext4 (rw,errors=remount-ro) +proc on /proc type proc (rw,noexec,nosuid,nodev) +sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) +none on /sys/fs/cgroup type tmpfs (rw) +none on /sys/fs/fuse/connections type fusectl (rw) +none on /sys/kernel/debug type debugfs (rw) +none on /sys/kernel/security type securityfs (rw) +udev on /dev type devtmpfs (rw,mode=0755) +devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) +none on /tmp type tmpfs (rw) +tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) +none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) +none on /run/shm type tmpfs (rw,nosuid,nodev) +none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755) +none on /sys/fs/pstore type pstore (rw) +/dev/mapper/vg00-lv_var on /var type ext4 (rw) +rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw) +systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd) +10.0.1.1:/backup on /backup type nfs (rw,noexec,nosuid,nodev,bg,nolock,tcp,nfsvers=3,hard,addr=10.0.1.1)
\ No newline at end of file diff --git a/tests/data/mount_parse_zfs.txt b/tests/data/mount_parse_zfs.txt new file mode 100644 index 00000000..08af04fc --- /dev/null +++ b/tests/data/mount_parse_zfs.txt @@ -0,0 +1,21 @@ +vmzroot/ROOT/freebsd on / (zfs, local, nfsv4acls) +devfs on /dev (devfs, local, multilabel) +fdescfs on /dev/fd (fdescfs) +vmzroot/root on /root (zfs, local, nfsv4acls) +vmzroot/tmp on /tmp (zfs, local, nosuid, nfsv4acls) +vmzroot/ROOT/freebsd/usr on /usr (zfs, local, nfsv4acls) +vmzroot/ROOT/freebsd/usr/local on /usr/local (zfs, local, nfsv4acls) +vmzroot/ROOT/freebsd/var on /var (zfs, local, nfsv4acls) +vmzroot/ROOT/freebsd/var/cache on /var/cache (zfs, local, noexec, nosuid, nfsv4acls) +vmzroot/ROOT/freebsd/var/crash on /var/crash (zfs, local, noexec, nosuid, nfsv4acls) +vmzroot/var/cron on /var/cron (zfs, local, nosuid, nfsv4acls) +vmzroot/ROOT/freebsd/var/db on /var/db (zfs, local, noatime, noexec, nosuid, nfsv4acls) +vmzroot/ROOT/freebsd/var/empty on /var/empty (zfs, local, noexec, nosuid, read-only, nfsv4acls) +vmzroot/var/log on /var/log (zfs, local, noexec, nosuid, nfsv4acls) +vmzroot/var/log/pf on /var/log/pf (zfs, local, noexec, nosuid, nfsv4acls) +vmzroot/var/mail on /var/mail (zfs, local, noexec, nosuid, nfsv4acls) +vmzroot/ROOT/freebsd/var/run on /var/run (zfs, local, noexec, nosuid, nfsv4acls) +vmzroot/var/spool on /var/spool (zfs, local, noexec, nosuid, nfsv4acls) +vmzroot/var/tmp on /var/tmp (zfs, local, nosuid, nfsv4acls) +10.0.0.1:/vol/test on /mnt/test (nfs, read-only) +10.0.0.2:/vol/tes2 on /mnt/test2 (nfs, nosuid)
\ No newline at end of file diff --git a/tests/data/zpool_status_simple.txt b/tests/data/zpool_status_simple.txt new file mode 100644 index 00000000..a2c573a3 --- /dev/null +++ b/tests/data/zpool_status_simple.txt @@ -0,0 +1,10 @@ + pool: vmzroot + state: ONLINE + scan: none requested +config: + + NAME STATE READ WRITE CKSUM + vmzroot ONLINE 0 0 0 + gpt/system ONLINE 0 0 0 + +errors: No known data errors
\ No newline at end of file |