All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon McNair <simonmcnair@gmail.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: removing AHCI SATA devices
Date: Wed, 23 Feb 2011 08:27:47 +0000	[thread overview]
Message-ID: <4D64C503.1080304@gmail.com> (raw)
In-Reply-To: <4D642C54.9040604@garzik.org>

thanks Jeff.   It just seems like a hit and miss solution (no way of 
knowing all data has been written to and that the device has been 
unmounted from all filesystems).  I kinda expected some kind of 'it is 
safe to remove /dev/sdb' in dmesg.

cheers
Simon

On 22/02/2011 21:36, Jeff Garzik wrote:
> On 02/22/2011 11:05 AM, Simon Mcnair wrote:
>> hi all,
>> Whilst I am aware that with AHCI and SATAII I can just unplug a HDD at
>> will what is the correct process for doing a 'clean' dismount ?
>>
>> Since MD is a layer over the top of the physical device how can you
>> ensure with certainty that all data has been flushed and the device
>> removal is clean ?
>
> Simply unplugged the hard drive's SATA cable should be fine.
>
>     Jeff
>
>
>

  reply	other threads:[~2011-02-23  8:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 16:05 removing AHCI SATA devices Simon Mcnair
2011-02-22 21:36 ` Jeff Garzik
2011-02-23  8:27   ` Simon McNair [this message]
2011-02-23 10:54     ` hansbkk
2011-02-23 11:19     ` John Robinson
2011-02-23 16:21       ` Roberto Spadim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D64C503.1080304@gmail.com \
    --to=simonmcnair@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.