LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-01-2007, 03:29 PM   #1
Spearhead40
Member
 
Registered: Aug 2006
Location: Baltimore, MD
Distribution: Fedora 20
Posts: 51

Rep: Reputation: 15
New Seperate Disk as /home -- Now access to programs slow. Mystery drives


I have two seperate physical hard drives on my system. I wanted to put /home directory on the new disk. I found instructions from within LQ and everything seemed to work fine. Now I have noticed that when I go access a program, Kmail, Firefox, what have you....there is a fairly lengthy pause (at least twice as long a normal) before the program starts up.

Also, seemingly out of no where, 6 remote share drives pop up on my desktop! The names are:
Remote Share (=Loc.) --two of those
Remote Share (Balicek) -- the "c" has a symbol over it ..like maybe its Czech or something.
Remote Share (grep)
Remote Share (if)
Remote Share (mount)

The type for all of them is: Unmounted Samba (Microsoft Network) Share

So... two questions. First, what is up with these Remote Share drives? Have I been hacked or something? If so how do I get rid of them. I'm a newbie so I don't know if my security setting are correct or not....I haven't changed them.


Second, I was under the impression putting your /home directory was a good thing. so far....not impressed. But I probably did something wrong. Here are the directions I followed.

fdisk /dev/hdb

mkfs.ext3 /dev/hdb2

mount /dev/hdb2 /mnt/disk
cp -vax /home /mnt/disk --this did copy everything
umount /dev/hdb2

This next part I am not sure if it went correctly......

cat >> /etc/fstab << HERE /dev/hdb2 /home ext3 defaults, errors=remount-rw 0 1 HERE

I didn't see an immediate response the cursor just went to ">"

command typed was mount -a

Again, no obvious response just the ">"

I tried the exit command ..did not work neither did cd .. or ls

So I closed to terminal window with button in the upper right corner.

Ok, experts..... how screwed am I?
 
Old 04-02-2007, 12:57 AM   #2
SirMsquared
LQ Newbie
 
Registered: Nov 2005
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by Spearhead40
cat >> /etc/fstab << HERE /dev/hdb2 /home ext3 defaults, errors=remount-rw 0 1 HERE
It's waiting for you to enter text and end with a line that has 'HERE' only on it. All the text you enter, except the line 'HERE', will be appended to /etc/fstab.

If you know vi or vim, you should use that to edit /etc/fstab and add the relevant line (which is "/dev/hdb2 /home ext3 defaults, errors=remount-rw 0 1", although perhaps should be "/dev/hdb2 /home ext3 defaults, errors=remount-rw 1 2"). If you don't know vi or vim, gedit can do it, but be sure to delete the /etc/fstab~ file that it leaves behind afterwards.
 
Old 04-02-2007, 12:58 AM   #3
nobody
LQ Newbie
 
Registered: May 2002
Distribution: SUSE 10.1, slackware 10.1, LFS 6.2
Posts: 10

Rep: Reputation: 0
please send teh output of
cat /etc/fstab
and of
cat /etc/mtab
I dont think that you changed anything in '/etc/fstab' cause what you described (change of Prompt to >) means, that the shell awaits further commands.

If you typed the command as discribed, this is the correct behaviour, because you tried to have multiple input-files.
Try to type the command the following way:
cat >> /etc/fstab << HERE
/dev/hdb2 /home ext3 defaults, errors=remount-rw 0 1
HERE
After you typed in 'cat >> /etc/fstab << HERE' and hit RETURN the Prompt should change to ">"
Then type in '/dev...' in the following line hit RETURN
and type in 'HERE' in the following line and hit RETURN
After that you should have your normal PS1 Prompt

Now check the outputs of
cat /etc/fstab
and of
cat /etc/mtab
again.
You should find a new line "/dev/hdb2 /home ext3 defaults, errors=remount-rw 0 1" at the end of '/etc/fstab'.

The command 'mount -a' mounts all filesystems in /etc/fstab. So it should work cause you mount the new /home over the old but if this works correct I would recommend, that you delete your or remark your old '/etc/fstab'-entry for the /home-directory.
 
Old 04-02-2007, 04:02 PM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
You have your distro listed as Kubuntu 6.06, so I assume you are running KDE.

To edit /etc/fstab, enter "kdesu kwrite /etc/fstab" in a "Run Command" dialog box. You can open a "Run Command" dialog box either on the main menu or w/ [Alt-F2] (that's a 2-key chord).
 
  


Reply

Tags
directory, disk, home, kubuntu


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
Nautilus + slow access to mounted drives ScottReed Slackware 2 02-10-2011 01:41 PM
access seperate home partition nicdaug Debian 1 03-28-2006 03:36 AM
programs have no access to home directory. SnowSurfAir Linux - Software 4 07-14-2005 12:05 AM
Cannot Access Disk Drives lgldsr Linux - Hardware 8 08-10-2004 07:18 PM
2.6.0 SLOW disk access wayback Linux - Hardware 5 01-15-2004 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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