View previous topic :: View next topic |
Author |
Message |
TheWitePony Apprentice
Joined: 04 Feb 2004 Posts: 211
|
Posted: Sat Jul 23, 2005 8:58 pm Post subject: Free Space? |
|
|
This is probably a dumb question but how can I tell how much free space I have? |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Sat Jul 23, 2005 9:11 pm Post subject: |
|
|
df -h
man df for more info _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
TheWitePony Apprentice
Joined: 04 Feb 2004 Posts: 211
|
Posted: Sat Jul 23, 2005 9:31 pm Post subject: |
|
|
When you mount multiple hard drives to the same location say "/" does that mirror the contents on both hard drives or give you the total capacity of both? I have two hard drives and would like to use both of them, currently I have them both mounted to /. This is my df -h output.
Code: |
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 36G 12G 23G 36% /
udev 379M 600K 378M 1% /dev
/dev/hda1 38M 6.2M 30M 18% /boot
none 379M 0 379M 0% /dev/shm
/dev/hdb1 36G 12G 23G 36% /
/dev/hda3 36G 12G 23G 36% /
/dev/hdc 645M 645M 0 100% /mnt/cdrom0
|
Did I set it up correctly? I want to use the full capacity of both drives and not mirror anything. Would mounting one to / and the other to like /home be better? |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Sat Jul 23, 2005 9:58 pm Post subject: |
|
|
You will most likely cause breakage..
My guess is that it would only be using 1 drive.. not sure which one..
I did not realise that it would let you mount 2 drives to the same mount-point..
EDIT: I've been told that you are using the last drive that is mounted on that location by the mount command.. Thanks moreon from the #gentoo channel on irc.freenode.net
If you wish to add the 2 drives together and use them as "one seamless drive", you might consider looking at software raid 0..
Plenty of docs around in the forums that provide you with the information required to achieve this.. _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
TheWitePony Apprentice
Joined: 04 Feb 2004 Posts: 211
|
Posted: Sat Jul 23, 2005 10:13 pm Post subject: |
|
|
So can I mount one to / and the other to my home directory and not have a problems? |
|
Back to top |
|
|
TheRAt Veteran
Joined: 03 Jun 2002 Posts: 1580
|
Posted: Sat Jul 23, 2005 10:58 pm Post subject: |
|
|
TheWitePony wrote: | So can I mount one to / and the other to my home directory and not have a problems? |
Yes.. if that is the setup you wish.. _________________ All reality is the construct of the observer.
Get Firefox and rediscover the web!
BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it. |
|
Back to top |
|
|
TheWitePony Apprentice
Joined: 04 Feb 2004 Posts: 211
|
Posted: Sat Jul 23, 2005 11:28 pm Post subject: |
|
|
whew...I got scared there for a sec. I can't believe I fixed that without totaly hosing my system. Although I found that the first drive in fstab that is mounted on / ended up being the one that was used. I have the second one now mounted to a new folder in my home directory. All seems well now.
Code: |
albert@albert-linux ~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 36G 15G 21G 42% /
udev 379M 600K 378M 1% /dev
/dev/hda1 38M 6.2M 30M 18% /boot
/dev/hdb1 37G 33M 35G 1% /home/albert/albert-drive
none 379M 0 379M 0% /dev/shm
|
|
|
Back to top |
|
|
|