Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all! I would like to ask you Linux experts if you see any pitfalls in my setup with regards to my Linux RAID config. (Using SuSE 9.3 Pro) Here's what I have and what I did:
IDE Ports on motherboard:
hda - Western Digital 40G HD, Primary Master
\ hda1 - 1G Swap (swap)
\ hda2 - 39G / (Reiserfs)
hdb - Standard CDROM, Secondary Master
IDE ATA/100 PCI Card:
hdc - Western Digital 160G HD, Primary Master
hde - Western Digital 160G HD, Primary Master
RAID Config:
md0 - RAID 1 using hdc and hde, mounted to /home (Reiserfs)
My goal:
I want to create a system to store my family photos, mp3s, important docs, etc. with fault tolerance. (Kind of a safe storage bin for all my junk). So I installed the Linux file system on the 40G drive. I don't care if that drive dies and I lose the system... I only want to protect the photos, mp3s, etc... "/home" (RAID 1) is where I plan to keep those files.
Questions:
1) If the 40G drive dies, and the system will not boot, is there ANY security tied to the /home partition (RAID system) that will prevent me from installing Linux again on a new drive and accessing those files?
2) SuSE defaults a RAID mount to the /usr directory. What's the reasoning behind this? Is it better to store all your junk under /home, especially if you plan on opening Samba shares or FTP access?
3) Anything I'm missing?
1) If the 40G drive dies, and the system will not boot, is there ANY security tied to the /home partition (RAID system) that will prevent me from installing Linux again on a new drive and accessing those files?
Well, root could always do whatever he pleases to it, so if you re-installed the OS and then mounted the raid volume, root could take ownership. The next answer is, It would depend on the security you set up. Is the world bit set to everyone can read/write/execute ?
2) SuSE defaults a RAID mount to the /usr directory. What's the reasoning behind this? Is it better to store all your junk under /home, especially if you plan on opening Samba shares or FTP access?
I'm guessing your saying that SusE automatically placed /usr in the mount point when you were installing SusE. The reason it did that isn't because it saw a raid volume. It was probably just the next mount point in Yast's dropdown box, or the most likely mountpoint after / to get mounted. You should mount the raid volume as /home since your going to be using it as a file server. Samba and the FTP daemons can all have their configs set to put files wherever you please, so if you install them, just make /home/samba and /home/ftp or something.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.