Re: What would be a proper way to shutdown a sata disk connect with a usb interface ?

2018-12-20 Thread Guy Gold
Hi Boris, After you're convinced all data operations have stopped, udiskctl is useful to logically detach the drive, one last step before physically powering off. e.g udisksctl power-off -b /dev/sdc >From "man udisksctl" power-off Arranges for the drive to be safely removed and powered off. On

Re: What would be a proper way to shutdown a sata disk connect with a usb interface ?

2018-12-16 Thread borissh1983
On Sunday, 16 December 2018 10:13:17 IST shimi wrote: > umount (assuming -l is not used), by definition, cleanly un-mounts the > filesystem - it makes sure all pending writes are written and all metadata > is cleanly committed, then completes. This makes 'sync' unnecessary - the > filesystem

Re: What would be a proper way to shutdown a sata disk connect with a usb interface ?

2018-12-16 Thread shimi
On Sun, Dec 16, 2018 at 9:53 AM wrote: > I'm using sata to usb interface to extract data and to work with end user > hard > drives connected to a laptop. > > I'm using that for a periodic offline backups to HDD and an SSD (I know > unreliable but that is the best I have for now). > > What I do

What would be a proper way to shutdown a sata disk connect with a usb interface ?

2018-12-15 Thread borissh1983
I'm using sata to usb interface to extract data and to work with end user hard drives connected to a laptop. I'm using that for a periodic offline backups to HDD and an SSD (I know unreliable but that is the best I have for now). What I do today when I need to shutdown it are the next steps