LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-11-2009, 02:25 PM   #16
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

do ls, and mount on an existing directory like /temp or /tmp or /media or /mnt
Another option, cd to /var/log and delete all the backup logs, like syslog.0,syslog.1,messages.1.gz and so on to free up some space
what is the output from
Code:
df -h

Last edited by repo; 02-11-2009 at 02:26 PM.
 
Old 02-11-2009, 02:32 PM   #17
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
i just did

df -h -T

and got

/dev/hda2 type ext3 size 9.1 gig available 0% use 100% /
/dev/hda2 type ext3 size 45 gig available 22 gig used 52% /home

so can i mount sda1 on the /home partition?
 
Old 02-11-2009, 02:37 PM   #18
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
i just did

df -h -T

and am getting

/dev/hda2 type ext3 size 9.1 gig used 9.1 gig available 0% used 100% mounted on /
/dev/hda3 type ext3 size 45 gig used 23 gig available 22 gig used 52% mounted on /home

I am wondering if i can mame the mount directory on /home

let me check to boot logs
 
Old 02-11-2009, 02:37 PM   #19
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
yes
mount it on /home
then do
cp -R /home/user /home/mountpoint
 
Old 02-11-2009, 03:58 PM   #20
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
i am doing that. I created a directory called mount on the home dir
then

cp -R /home/username /home/mount

After this is done, do i just

cp -R /home/mount /dev/sda1

?????
 
Old 02-11-2009, 04:07 PM   #21
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You created the directory mount in your home directory.
So this will act as the mounting point.
Now issue the following command
Code:
mount /dev/sda1 /home/mount
this will attach your external drive at
/home/mount
now type
Code:
cd /home/mount
there you will see the drive
then type
cp -R /home/user /home/mount
This will copy your home directory to the drive

When finished, first unmount the drive before you remove it
Code:
umount /dev/sda1
 
Old 02-11-2009, 05:40 PM   #22
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
i have a very slow pentium III. It is still copying files onto the external drive.

Thank you very much!!!

I will let you know how i get on.

Another thing you might like to do for me is give a simple explanation on the concept of attaching the external drive to /home to fstab.

BTW do you know any good online LPI courses?

I have been looking all over but very difficult finding one. I also heard LPI organization are updating the exams at April. So how can i be sure exam materials are up to date?
 
Old 02-12-2009, 11:07 PM   #23
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
One thing I don't think you realize is that the files in /dev/ are special files and not the partitions themselves. You have been using them inappropriately in prior posts. See the manpage for mount and mknode for maybe a better understanding. The mounting is performed by the kernel. It it actually the major and minor numbers of the file (rather than the name) that the kernel uses. Unix (and Linux) has a single root filesystem and all other partitions are mounted over directories under the root (/) filesystem.
 
  


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
Backup script issues onthefritz Programming 3 06-18-2008 07:32 PM
strange backup issues tanoatlq Linux - Software 6 05-16-2008 11:33 AM
Backup Exec Permissions issues greencabby Linux - Enterprise 1 02-13-2007 03:46 PM
backup server - permission issues Red Squirrel Linux - Software 3 02-26-2006 04:52 PM
Tape backup issues joe_sixpack Linux - General 0 10-02-2003 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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