LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-02-2015, 06:57 AM   #16
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231

remove another duplicate - sorry
I tried to post in a way that created duplicates.
My apologies.
It will not happen again.

Last edited by TxLonghorn; 12-02-2015 at 07:18 AM.
 
Old 12-02-2015, 07:01 AM   #17
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by slayme40 View Post
At the Moment I have a partition entirely devoted to /home. It is running low on hard drive space so I want to mount sdb1 so I can use this for my data files. In another thread I was told to mount sdb1 and create the folder "data" on sdb1 and mount it to /home/bill/data . Is this the best way of doing this?
So you have the OS on one partition (/) - possibly sda1 ?
And you have /home on a different partition - possibly sda2 ?
And you want to create a mount point on a mount point.
(I do not have a separate /home partition, and did not realize that you do.)
What happens if it is very slow to mount - does the fstab command to mount sdb1 on sda2 fail ?
What happens if you put the mount line for sdb1 in fstab before the mount line for sda2 ?
That gives some insight into your original problem.
Quote:
Originally Posted by slayme40 View Post
I've tried to add /home/bill/data to fstab and it just boots in to emergency mode. The only thing I can't think of is because bill can't access data would that be correct?
I guess I should have asked for "cat /etc/fstab" to see what was there.

How about if you follow this tutorial to create your mount point on /mnt

Then you have a choice of creating a "symlink" in /home/bill, or binding.
I would advise sticking with the symlink option. Because all that does is create a file - nothing fancy - just a file that represents your /data partition.

You could even go "all in" and completely switch /home from sda2 to sdb1
That is simply a matter of changing the /home line in fstab to a different partition (sdb1), and then copy the /bill folder from sda2 to sdb1.
Make a backup copy of fstab first.
After testing that configuration, you can delete /bill on sda2.
That might not fit your system, but I thought I would mention the possiblity.
 
1 members found this post helpful.
  


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] editing fstab - mount point with spaces vincix Linux - Newbie 5 11-23-2012 04:09 AM
Redhat Linux 4.8 error -mount: mount point /oracle does not exist for new /etc/fstab entries bellnarm Linux - Server 1 11-23-2011 05:09 AM
[SOLVED] fstab, space in mount point/directory names? batfastad Linux - Newbie 2 11-25-2010 02:42 AM
redirecting folders to a separate mount point in /etc/fstab etortola Linux - Server 1 06-20-2009 09:47 AM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM

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

All times are GMT -5. The time now is 11:13 AM.

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