You are not logged in.
Hi, guys.
It's my first post.
I have an external HDD that mounted option with "idle-timeout"
so after a couple of minutes, it goes on sleep.
But when I shutting down my system,
in the process of shutdown, systemd umount hdd
That makes the external device wake up.
May 13 13:49:44 kibeos systemd[1]: Unmounting /mnt/ext4Data...
May 13 13:49:44 kibeos systemd[1]: mnt-ext4Data.mount: Deactivated successfully.
May 13 13:49:44 kibeos systemd[1]: Unmounted /mnt/ext4Data.
May 13 13:49:44 kibeos systemd[1]: mnt-ext4Data.automount: Deactivated successfully.
May 13 13:49:44 kibeos systemd[1]: Unset automount mnt-ext4Data.automount.
So, I'd like to know HOW TO DISABLE UMOUNT COMMAND DURING SHUTDOWN
Please let me know the hint as always I got here.
Thanks
Offline
Please post your fstab and the output of "mount" when you assume the drives to be mounted and unmounted.
The drives sleep (physically) by a drive feature that can be controlled via hdparm -S/-y/-Y (check "hdparm -h" and don't fuck up the capitalization, eg. "hdparm -s" can brick the drive) - this has nothing to do w/ the mounting state.
You can perfectly send a drive to standby/sleep while it's still mounted.
Offline
You can perfectly send a drive to standby/sleep while it's still mounted.
And, I imagine, it needs to be unmounted before the system shuts down or the file system will be left in a dirty state -- which means in needs to wake up.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline