LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-05-2004, 06:29 PM   #1
smiler
Member
 
Registered: Sep 2002
Distribution: Mandrake 10.0 O
Posts: 48

Rep: Reputation: 15
unmounting harddrives - do I loose my data?


I have 60 GB data on a disk formatted with Ext3 filesystem.
I want to move the disk to another ide cable in order to have another one in its place.
Then it gets to be hdc I think instead of hdb.
I try to unmount it in mandrake, but it won't.
Then I try with -l option, but it gets mounted again after boot.

Am I going to remove it from fstab in order not to get it remounted automatically?
Am I right in asuming that I will be able to unmount it, move it to another cable, remount it again as hdc and then have all my data as usual?
Could I also move it to another PC that way?
Will the answer be the same with any other filesystems like FXS or Reiser?

most questions are either about mounting or about removables - fx this interesting piece:
http://freespace.sourceforge.net/gui...to/autofs.html

Hope to get a little support from some yes or no's here before I throw myself into it

Thanks
 
Old 07-05-2004, 06:37 PM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
_All_ filesystems are unmounted when you shutdown (poweroff). You have to power down to disconnect the ide cable anyway, so you really don't have a problem.

You will need to edit fstab to reflect the new position, or create a new entry when moving to a different computer.

Last edited by kevinalm; 07-05-2004 at 06:40 PM.
 
Old 07-05-2004, 06:47 PM   #3
smiler
Member
 
Registered: Sep 2002
Distribution: Mandrake 10.0 O
Posts: 48

Original Poster
Rep: Reputation: 15
But when I power on after having removed it, it comes with an error mentioning the dev/hdb1 and asks if it is going to repair it, so thought I ought to go in and change that before powering on
 
Old 07-05-2004, 07:15 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
You may change it before shutdown, but it's not a very serius error. Also, all disks should unmount if:
* you're root
* no user is accessing files on this disk

You can move the disk to another cable or to another machine. If Linux system has support of the filesystem you use (probably all of them have, Ext3 or Ext2), you'd have access to your files.
 
  


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
newb on the loose and needing help Cobra08t Linux - Newbie 4 07-14-2005 01:54 PM
aterm loose the borders Longinus Linux - Software 10 03-26-2004 12:41 AM
Do i loose my data when i reparition my HDD exley Linux - Newbie 3 12-28-2003 07:12 PM
There is a Guru on the loose! MasterC General 6 01-30-2003 01:49 AM
ok, guys I NEED HELP WITH THESE QUESTIONS ! im loose it XillusionsX Linux - Networking 1 12-09-2001 01:02 AM


All times are GMT -5. The time now is 08:29 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