LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2010, 01:57 AM   #1
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Rep: Reputation: 30
changing hardisk "live" can harm my data???


hi!

i just finish setting up my new file server with two hardisk(80gig for first hd for my filesystem and 2nd 250 gig for my data files) now iam wondering can i umount my second drive "live" and replace a new hardisk without shutingdown my computer? can i damage my hardisk? i know there is a hotswapble hardisk. but i my case i cant not afford a upgrade in my unit(clone pc only) but guy i try several time to change live hardisk without turning off my pc? i just umount the 2nd disk and insert a new disk and nothing happend wrong in my system?? but to be sure i just want your expert suggestion???

thank!
 
Old 06-20-2010, 05:12 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Hi,

I'm assuming you are talking about internal hardware and not USB attached hardware:

As a general rule you do not change hardware on a running system. Doing so could damage your computer (not only the component you detach/insert). Some (professional) systems are build for this purpose, but PC's are not.

Hope this helps.
 
Old 06-20-2010, 06:00 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Your gun, your foot ...
 
Old 06-20-2010, 06:14 AM   #4
kalujny
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
I suggest having a little downtime, notify all parties involved etc etc
 
Old 06-20-2010, 10:24 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

The OP needs to clarify a bit or provide more information. If the system is IDE then of course a hot swap will be a big problem without the proper interface hardware. Anytime the hardware is removed without the proper signal control then indeed the OP will have to pay the price with potential hardware damage or even filesystem failures.

 
Old 06-20-2010, 01:21 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,372

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
I think hot plug devices would be known to the system if the OS and bios and hardware are all fully supported.

I know I can swap drives on our HP's but I have never tried it live. I'm sure it is on the HP site for exact details. We do use a different distro.
 
Old 06-20-2010, 08:56 PM   #7
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Bad idea. Your data remains probably untouched. But you run the risk of damaging up your mainboard and you hard disks beyond repair. Unharmed data on a disk drive with a non-functional controller is worthless.

I wonder what extremely mission critical server you are running that you cannot afford 10 minutes downtime.

jlinkels
 
Old 06-21-2010, 01:15 AM   #8
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Original Poster
Rep: Reputation: 30
hi!

sorry for late reply? this new server is for experimental pc. i just want to experiment to the max!!! just try and want to know what will happen:-) i saw in youtube someone removing sata drive without turning off his computer and replacing it? maybe he edited the video. oh? iam using a internal disk sata. any i just want to be sure thanks guys!!!
 
Old 06-21-2010, 01:25 AM   #9
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Original Poster
Rep: Reputation: 30
another one??? i have a usb cable sata to usb is this safe??? because iam using it for almost a month?? and nothing happen?? my data still readable? i just unmount it after i finish to backup.
 
Old 06-21-2010, 06:40 AM   #10
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
If you hotplug your SATA disk and it goes well, it does not guarantee that it goes well always. You might find yourself in a situation where your hardware is damaged when expect it the least. Ordinary SATA cannot be hotplugged, so don't do it.

USB is designed for hotplugging, so you can unplug a live device on the USB side, not on the SATA side. Umounting first is mandatory in order to avoid data loss.

jlinkels
 
Old 06-21-2010, 07:46 AM   #11
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
Hmm this brings up a question for myself.

I have a USB external HD mount (not sure what it's actually called, I plug the IDE drive into a box external to my computer, it connects to my computer through USB).

If I unmount the drive, then shut down the external box's power (what I've been doing) do I risk damaging the drive?

If so, what is the proper way for me to shut this down and plug in another IDE drive?
 
Old 06-21-2010, 07:54 AM   #12
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Most external USB hard disks contain a normal IDE or SATA disk inside. The proper sequence is:

1 unmount USB disk
2 unplug usb cable
3 power off external disk
4 replace IDE/SATA

and reconnecting is reversing the sequence.
2 and 3 can be swapped.

jlinkels
 
Old 06-21-2010, 07:59 AM   #13
Awatto
Member
 
Registered: Aug 2003
Location: Halifax, NS
Distribution: Debian, Gentoo, Ubuntu, Fedora
Posts: 128

Rep: Reputation: 30
Thanks jlinkels
 
Old 06-21-2010, 10:59 PM   #14
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Original Poster
Rep: Reputation: 30
thanks jlinkels!

thank guys!

just why i love linux!
great help!
 
Old 06-23-2010, 08:35 PM   #15
slack66
Member
 
Registered: Jul 2003
Location: manila
Distribution: slackware 8 to 9
Posts: 199

Original Poster
Rep: Reputation: 30
iam back again sory for opening again this disscusion? i just saw a forum regarding sata changing live without turningoff pc.
verify if this is safe? or a joke???

http://archive.atomicmpc.com.au/foru...=2&c=9&t=17477

Last edited by slack66; 06-23-2010 at 08:40 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] May I edit the file "grub.cfg" without causing harm to my system? seamuscristo Linux - Newbie 11 06-07-2010 02:13 PM
[SOLVED] When I type "sudo grub" it says "command not found" in Ubuntu 9.10 Live CD. msbstar Linux - Newbie 7 01-30-2010 12:05 PM
How to get the "data type" of an "unknown variable" in "C Language" ? Affair Programming 8 06-20-2009 01:30 PM
"which files to copy to hardisk for Hardisk installation " Rehan1 Linux - Newbie 9 08-21-2004 04:11 PM
Does "ac97 & RH8" imply "buy a Sound Blaster Live"? nicktoop Linux - Hardware 3 02-13-2004 09:53 AM


All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration