Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for mount

December 23, 2019

AWS EFS /etc/fstab

To automatically mount a EFS volume after each reboot, you’ll need to add the following format to /etc/fstab.

You can use the DNS name given by AWS.

fs-12345678:/ /mnt/efs efs defaults,_netdev 0 0

fs-12345678:/ /mnt/efs efs defaults,_netdev 0 0

Or the IP address.

10.0.0.22:/ /mnt/efs efs defaults,_netdev 0 0

10.0.0.22:/ /mnt/efs efs defaults,_netdev 0 0

Mount all with fake and verbose.

mount -fav

mount -fav

November 4, 2019

AWS EFS Describe Mount Targets

Here’s how to display mount targets of an EFS system via AWS CLI.

 aws efs describe-mount-targets \
--file-system-id fs-xxxxxxxx \
--profile default \
--region us-east-1

aws efs describe-mount-targets \ --file-system-id fs-xxxxxxxx \ --profile default \ --region us-east-1

October 7, 2019

XFS Filesystem has duplicate UUID

Here’s how to fix a duplicate UUID on a XFS file system.

mount -o rw,nouuid /dev/sda1  /data

mount -o rw,nouuid /dev/sda1 /data

Mounting with nouuid will work, but not after a reboot.

To avoid a duplicate ID, run this command to generate a new UUID.

xfs_admin -U generate /dev/sda3
Clearing log and setting UUID
writing all SBs
new UUID = xxxxx-xxxx-xxxx-xxxxxxxxx

xfs_admin -U generate /dev/sda3 Clearing log and setting UUID writing all SBs new UUID = xxxxx-xxxx-xxxx-xxxxxxxxx

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • Next Page »
  • Cloud
  • Linux
  • Git

Copyright © 2012–2021