LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-14-2010, 04:44 AM   #1
phorning
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
new hdd, old mount needs to point to new hdd mount.


Hey guys,

I'm pretty new to Linux, but since our admin has left the company they asked me to have a look at it. So keep it easy

We have 2 disks in the machine, one of them is full so we bought a new one.

We have sda3 mounted on /export (which is full)

I copied all data of sda3 to the new sdb1 disk so its exactly the same as sda3. Since many of our programs use the /export mount I want the old sda1 /export mount to point to the new /exportnew mount.

Should I just be deleting everything thing in sda3 /export and make a symbolic link to /exportnew or is there another better way?

Thanks for the help in advanced, if I need to supply more info let me know.

Peter
 
Old 06-14-2010, 04:48 AM   #2
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Rep: Reputation: 62
What does the contents of your /etc/fstab file look like? If /export is just a mount directory, can't you simply "umount /export" and then "mount -t <filesystem> /dev/sdb1 /export"?
 
Old 06-14-2010, 04:54 AM   #3
phorning
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Original Poster
Rep: Reputation: 0
# /export was on /dev/sda3 during installation
UUID=804c5071-3f7b-4553-a058-ed720dd26f21 /export ext3 relatime 0 2

So guess im going to remove that line and add?

/dev/sdb1 /export ext3 relatime 0 2
 
Old 06-14-2010, 05:44 AM   #4
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 18.04 / CentOS 7.6
Posts: 397

Rep: Reputation: 62
That'll probably do it, yup. Assuming that partition wasn't part of a volume group, but if it were, I guess you wouldn't be replacing the disk.
 
  


Reply



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
2nd hdd mount point and permissions timl Slackware 3 09-05-2009 03:29 AM
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
Formatting external HDD - what mount point? Chriswaterguy Linux - Hardware 16 08-14-2008 09:55 PM
Changing removable HDD mount point (not /dev name) saravkrish Linux - General 1 03-17-2007 11:38 PM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:55 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
Open Source Consulting | Domain Registration