LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Red hat file systems (https://www.linuxquestions.org/questions/linux-software-2/red-hat-file-systems-102480/)

alexr186 10-10-2003 12:38 PM

Red hat file systems
 
i was wondering where is the a good place to store larger files (like 15 gigs) in a linux files system, the files will also be shared with samba. I have kept them in my home dirs but it was causing some problems.
Any ideas would be great.
thanks

david_ross 10-10-2003 02:10 PM

It depends on the way you have partitioned your drive. To see where you have free space run:
df -h

alexr186 10-10-2003 04:21 PM

Well if i am useing the normal redhat partitions that the install program puts in where should i put it or should i make a who seperate partition for it? Thanks

mossy 10-10-2003 04:30 PM

WEll you may want to redo it now if you have not invested too much time in the OS already.

I like to partition all the main partitionable sections of the OS - this is usually better as you can recover form problems better.

I created a seperate partition of 80 gigs just for storage. I have a main file in there as my shared folder. Home is nice but it is for personal use only - not shared.

I created partitions for [argh - this is from memory]:
var
boot
swap
/
home
usr
storage
tmp

not sure If I forgot any.
I believe these are the recommended partitionable sections of the OS. IT can be helpful when recovering from malicious attacks or HD failures etc.

To determine the sizes of thepartitions you should consider the usage of the pc - if it's a server then make var larger - if primarily a desktop then adjust storage and home accordingly.

It is worth researching this and getting it right***. As you have seen /Home is not the ideal place for alot of stuff.
I recommend you get a book or research the net about the various methods of partitioning and get an estimate of the sizes - then adjust proportionally according to the size of your HD.

How large is your HD???

[edit]

***because it is often dangerous to go back and try to resize the partitions at a later stage.

alexr186 10-10-2003 04:59 PM

thank you

mossy 10-10-2003 07:29 PM

welcome.

also you may want to use ext3 file system as it supports better filechecking recovery.


All times are GMT -5. The time now is 04:37 PM.