Skip to content

Instantly share code, notes, and snippets.

@mckn
Created May 23, 2016 12:37
Show Gist options
  • Save mckn/770425214a8fede81f23d16c1e117a14 to your computer and use it in GitHub Desktop.
Save mckn/770425214a8fede81f23d16c1e117a14 to your computer and use it in GitHub Desktop.
# create mount point and mount
sudo mkdir /mnt/dat1
sudo mount -t xfs /dev/vdb1 /mnt/dat1
df -h
# add so it will be mount on system start
sudo sh -c 'echo "/dev/vdb1 /mnt/dat1 xfs defaults 0 0" >> /etc/fstab'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment