Linux Filesystems

GhettoFob

Diamond Member
Apr 27, 2001
6,800
0
76
Hi, I was planning on making a dedicated file server for my network using Linux (Red Hat 8.0 for now). I plan on using two physical harddrives. I'm gonna put the OS on one and the files on the other one. If I need to reinstall the OS, can I just format and reinstall it without having to worry about my files on my storage drive or would I need to take other measures to backup the files first? Basically, I'm wondering if there's any security measures that will prevent me from reading those files after a format like for NTFS partitions in Windows. Thanks in advance.
 

topaz22

Senior member
Dec 9, 1999
208
0
0
no, you should be fine. one problem that i may see is that if you use a more obscure filesystem like xfs, and after you format, you don't have that module compiled or built into the kernel. as long as you stick with ext2/3, you'll be fine. you don't even need to use two hard drives, just make different partitions for / and /home. when you reformat/reinstall, don't format that partition.

i'm not sure what is suggested by omega's suggestion about chmod.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
You should be fine. The command you would more need to worry about than chmod is probably chown.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
no, you should be fine. one problem that i may see is that if you use a more obscure filesystem like xfs, and after you format, you don't have that module compiled or built into the kernel.

If he gets it installed onto that, most likely his install media has that module compiled somewhere. I would personally recommend XFS, it's faster than ext2/3 and if you need you can use ACLs. I don't really dislike ext2/3 but with the other, better filesystems out there the only reason I see to use it is for compatibility purposes, sort of like FAT only ext2/3 isn't anywhere near as bad as FAT.

Basically, I'm wondering if there's any security measures that will prevent me from reading those files after a format like for NTFS partitions in Windows. Thanks in advance.

The rights will still be applied to the files, so if you reformat (for what reason, I can't fathom) you may need to change the rights with chmod or the owners of the files with chown, but that all depends on how much you f' with the file's rights. If you recreate the users with the same UIDs after the format you won't have to mess with the rights at all because they'll still be applied.
 

GhettoFob

Diamond Member
Apr 27, 2001
6,800
0
76
Thanks for the help! One final question, say if I wanted to move the storage drive to another computer running Linux, would I have any difficulty with that? Should I set the owner of the files to root or something like that? And also, the user actually corresponds to a uid right? So if I would need to add the user back with the same uid as before?
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: GhettoFob
Thanks for the help! One final question, say if I wanted to move the storage drive to another computer running Linux, would I have any difficulty with that? Should I set the owner of the files to root or something like that?

Nah. As long as you have root on all of these machines, you can always fix the permissions after you've "surveyed the damage".

And also, the user actually corresponds to a uid right?

Yep

So if I would need to add the user back with the same uid as before?

You may want to, simply to make it a little easier, however it's not really much to worry about. Worst case scenario, you have to chown -R everything on it, and that's no biggie at all.
 

civad

Golden Member
May 30, 2001
1,397
0
0
So if I would need to add the user back with the same uid as before?
You may want to, simply to make it a little easier, however it's not really much to worry about. Worst case scenario, you have to chown -R everything on it, and that's no biggie at all.


 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |