How to determine if the XFS file system is frozen?

I am writing a simple snapshot of an EC2 script and should determine if there is a way to find out if the file system is frozen or not. As of now, trying to do something for a frozen file system is a script hang (and freezes in the bash shell).

Is there a command or a way to find out if the file system is frozen?

Thank!

+3
source share
1 answer

Try remounting the file system:

mount -o remount /moint/point

, , . , no-op, . , noatime, :

mount -o remount,noatime /moint/point

, . , EBUSY.

, EBUSY - ( ), , , .

+3

All Articles