Re: SATA hotplug + mdadm raid

2017-05-18 Thread deloptes
Sam Smith wrote: > But I still need to swap the first drive (sda) and I don't really want > to have to reboot this time. So what can I do to ensure that once I pull > the old drive and put in the new one that it comes back up as "sda"? Or > does that even matter? (seems like it would..) As Andy S

Re: SATA hotplug + mdadm raid

2017-05-18 Thread Sam Smith
On 05/18/2017 12:30 PM, Dan Ritter wrote: It doesn't matter that much. Use this: mdadm --fail /dev/md0 /dev/sda1 mdadm --remove /dev/md0 /dev/sda1 mdadm --add /dev/md0 /dev/whatever1 then check on progress with cat /proc/mdstat -dsr- Ok, I just went ahead and yanked the drive and stuck th

Re: SATA hotplug + mdadm raid

2017-05-18 Thread Andy Smith
Hi Sam, It doesn't matter what your devices are called. In fact you are best advised to avoid use of the /dev/sd* names where possible as these names may change for reasons other than drives being hotplugged. For example if your storage controller needs a module to detect drives, then order of mod

Re: SATA hotplug + mdadm raid

2017-05-18 Thread Dan Ritter
On Thu, May 18, 2017 at 11:49:11AM -0500, Sam Smith wrote: > Hi, > > I recently upgraded my home server to an HP ml30 tower server. It came with > a 4 drive hotplug SATA cage. I loaded two old unused drives in it and > installed Debian Stretch on it putting the drives in a software raid1 via > the

SATA hotplug + mdadm raid

2017-05-18 Thread Sam Smith
Hi, I recently upgraded my home server to an HP ml30 tower server. It came with a 4 drive hotplug SATA cage. I loaded two old unused drives in it and installed Debian Stretch on it putting the drives in a software raid1 via the debian installer. My plan was once I got the new box up and runni

Re: sata hotplug

2011-04-15 Thread tux
Thanks On Fri, Apr 15, 2011 at 9:58 PM, Jochen Schulz wrote: > tux: > > > > I'm using squeeze, and I want to hutplug an sata device. > > Someone said to me that sata and scsi is the same in linux. > > That's true to some extent, yes. Device naming is (and always was) the > same, for example. > >

Re: sata hotplug

2011-04-15 Thread Jochen Schulz
tux: > > I'm using squeeze, and I want to hutplug an sata device. > Someone said to me that sata and scsi is the same in linux. That's true to some extent, yes. Device naming is (and always was) the same, for example. > I searched the web, the way of hot plug for scsi is echo an string to > /pr

sata hotplug

2011-04-15 Thread tux
hi, I'm using squeeze, and I want to hutplug an sata device. Someone said to me that sata and scsi is the same in linux. I searched the web, the way of hot plug for scsi is echo an string to /proc/scsi/scsi. But there does not exist that file in my filesystem. So, now I wander who can I do hotpl

Re: Reality of SATA hotplug?

2009-01-23 Thread Stefan Monnier
> It is the reverse with external. You can plug IN safely, but UNplugging may > toastify the drive, or at least, the file system. Or so I've been told. AFAIk eSata can be unplugged safely in terms of electrical issues (i.e., you won't fry your drive). But of course, if you unplug while you stil

Re: Reality of SATA hotplug?

2009-01-22 Thread Mark Allums
Stefan Monnier wrote: If SATA hotplug *does* work "on the desktop", does that also mean that I could plug a new hard drive in while the system is running? Also, don't forget that while the SATA driver (and chipset, presumably) support hotplug, the normal SATA connectors are

Re: Reality of SATA hotplug?

2009-01-22 Thread Mark Allums
Ron Johnson wrote: On 01/22/2009 03:29 PM, Mark Allums wrote: Ron Johnson wrote: Hi, If a loose SATA cable falls off of my DVD drive while the power is on, is it ok for me to just slide it back in? Or should I power the machine down? If SATA hotplug *does* work "on the desktop&q

Re: Reality of SATA hotplug?

2009-01-22 Thread Ron Johnson
On 01/22/2009 03:29 PM, Mark Allums wrote: Ron Johnson wrote: Hi, If a loose SATA cable falls off of my DVD drive while the power is on, is it ok for me to just slide it back in? Or should I power the machine down? If SATA hotplug *does* work "on the desktop", does that also me

Re: Reality of SATA hotplug?

2009-01-22 Thread Mark Allums
Ron Johnson wrote: Hi, If a loose SATA cable falls off of my DVD drive while the power is on, is it ok for me to just slide it back in? Or should I power the machine down? If SATA hotplug *does* work "on the desktop", does that also mean that I could plug a new hard drive in

Re: Reality of SATA hotplug?

2009-01-22 Thread Stefan Monnier
> If SATA hotplug *does* work "on the desktop", does that also mean that > I could plug a new hard drive in while the system is running? Also, don't forget that while the SATA driver (and chipset, presumably) support hotplug, the normal SATA connectors are not meant to be

Re: Reality of SATA hotplug?

2009-01-22 Thread Jochen Schulz
y have to fsck it after plugging the drive back in.) > If SATA hotplug *does* work "on the desktop", does that also mean that I > could plug a new hard drive in while the system is running? Generally yes. But from what I have read, many consumer-grade mainboards / SATA controller

Reality of SATA hotplug?

2009-01-21 Thread Ron Johnson
Hi, If a loose SATA cable falls off of my DVD drive while the power is on, is it ok for me to just slide it back in? Or should I power the machine down? If SATA hotplug *does* work "on the desktop", does that also mean that I could plug a new hard drive in while the system

Re: SATA hotplug in Etch?

2008-05-13 Thread kj
Owen B. Mehegan wrote: My question is this: Can anyone confirm that full SATA hotplug support is present in the newer 2.6 kernels? Is it present in Etch, or do I need to upgrade to testing or unstable? Bonus question: Can you point me to a set of instructions for what exactly I need to do on

SATA hotplug in Etch?

2008-05-12 Thread Owen B. Mehegan
I ended up rebooting the box, and as soon as it came up it noticed the new drive, and I was able to add it into the RAID and get the rebuild started. I would have preferred not to have to do this though. My question is this: Can anyone confirm that full SATA hotplug support is present in the newer