Skip to content

Instantly share code, notes, and snippets.

@sabrehagen

sabrehagen/fstab Secret

Created January 20, 2017 02:09
Show Gist options
  • Save sabrehagen/e414bd6d26e0b46499684d7654970796 to your computer and use it in GitHub Desktop.
Save sabrehagen/e414bd6d26e0b46499684d7654970796 to your computer and use it in GitHub Desktop.
LABEL=cloudimg-rootfs / ext4 defaults,discard 0 0
/dev/xvdb /data/mongodb-replica-master xfs defaults,nofail,nobootwait 0 0
/dev/xvdc /data/mongodb-replica-slave xfs defaults,nofail,nobootwait 0 0
➜ ~ sudo mount -a
mount: wrong fs type, bad option, bad superblock on /dev/xvdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
mount: wrong fs type, bad option, bad superblock on /dev/xvdc,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
➜ ~ sudo mount -t xfs /dev/xvdb /data/mongodb-replica-master
➜ ~ sudo mount -t xfs /dev/xvdc /data/mongodb-replica-slave
➜ ~ mount
...
/dev/xvdb on /data/mongodb-replica-master type xfs (rw,relatime,attr2,inode64,noquota)
/dev/xvdc on /data/mongodb-replica-slave type xfs (rw,relatime,attr2,inode64,noquota)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment