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 02-07-2010, 12:47 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
mounting folders to partitions?


Is I issue this request on my sustem, does it link all storgae for the squid folder onto the sda2 partition?
What happens to storage on the /var folder, which is already mounted on the sda3 partition?

mount /dev/sda2 /var/spool/squid

[root@]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 4.8G 1.5G 3.0G 34% /
/dev/sda3 4.8G 1.5G 3.1G 34% /var
/dev/sda1 76M 23M 50M 32% /boot
tmpfs 465M 0 465M 0% /dev/shm
 
Old 02-07-2010, 02:14 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
/var/spool/squid would be on sda2, and everything else under /var would be on sda3
 
Old 02-07-2010, 03:38 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
True, strictly speaking. However, should the OP have data currently under /var/spool/squid (on sda3), it will be inaccessible once the mount for sda2 is issued.
Such data needs to be copied over before the mount for sda2.
 
  


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
trying to move some folders to new partitions and failing. mortalic Linux - Software 2 08-31-2009 08:03 PM
Permissions on folders & Partitions Ubuntu ahmed_as8 Linux - Newbie 7 01-31-2009 06:21 AM
Encrypting Folders, Files and Partitions (What are the best Linux programs to use?) Amdx2_x64 Linux - Security 5 08-19-2008 07:22 PM
Still confused about users/folders/partitions jagibbs Linux - Newbie 4 04-26-2005 01:56 AM
partitions: space used/free and folders inside joshfields Linux - Newbie 2 05-18-2004 07:21 PM

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

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