LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to partition the hard drive (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-partition-the-hard-drive-4175553420/)

Maham Zahid 09-14-2015 01:45 AM

how to partition the hard drive
 
I am new to Linux. I have 4 (100% new)internal hard drives of 900GB each. How can i configure and partition the hard drive using centOs, i need to create at least 50 partition.

Thank you

syg00 09-14-2015 02:03 AM

That's quite a lot of space. Why do you think you "need to create at least 50 partition" ?.
Do you already have CentOS installed ?. Are you planning to install CentOS on those disks ?.

Incomplete info will get you incomplete answers.

Maham Zahid 09-14-2015 02:20 AM

I have an ibm server,and want to install centos. After that i want to create partitions and each partition is used to form part of the storage necessary to support a single set of files and directories.

Soadyheid 09-14-2015 09:38 AM

Quote:

After that i want to create partitions and each partition is used to form part of the storage necessary to support a single set of files and directories.
Nope. I still don't understand that. Why do you need the partitions? It sounds like you're going to build the 50+ partitions into one volume for your " single set of files and directories." If so, you sound like you're just adding an additional unnecessary level of complexity to your file system. It's not going to do anything helpful, if you have a disk failure, you'd still have to replace 900Gb worth of partitions. Why don't you RAID your four disks which would cover you in the event of a disk failure, IBM Usually has a RAID controller fitted in X series.

Maybe I've misunderstood what you're trying to do. :scratch: What type of IBM server by the way? X Series, P series? What model?

Play Bonny!

:hattip:

schneidz 09-14-2015 09:59 AM

i agree with soadyheid.

i use gparted to play around with partitions.

DavidMcCann 09-14-2015 10:29 AM

This is a good article on partitions
http://shearer.org/Linux_Server_Partitioning

If you need some basic information, there's always Wikipedia
https://en.wikipedia.org/wiki/RAID
https://en.wikipedia.org/wiki/Logical_volume_management

and the Red Hat documentation
https://www.centos.org/docs/5/

syg00 09-14-2015 08:15 PM

CentOS will default to LVM - this can (more easily) accommodate something like what the OP wants using lvs.
But I too can't see the point.

Maham Zahid 09-14-2015 11:55 PM

i have an IBM x3550 M4 server.i want to allocate each member with a separate partition on a hard drive, so that they can place their personal data and no one will be able to access each other folder.

John VV 09-15-2015 12:15 AM

then you most defiantly want to use LVM

but NOT 50+ partitions

those 50+ sound like normal everyday user home folders

set up the SINGLE!!! "/home" partition on a large volume

new users will automatically have a /home/UserName " folder added as you add the users

and each of those "home" folders will be owned by the user and NOT EVEN READABLE by other users ( except for root)



sounds like you need a refresher course in linux/unix basics

schneidz 09-15-2015 07:12 AM

Quote:

Originally Posted by Maham Zahid (Post 5420488)
i have an IBM x3550 M4 server.i want to allocate each member with a separate partition on a hard drive, so that they can place their personal data and no one will be able to access each other folder.

i think thats what quota does but i've never played around with it ?

Soadyheid 09-15-2015 07:59 AM

Information on how to configure the X3550 M4 ServeRAID array is here dependant on adapter model, etc.

I'm with John VV, one of the basic user/data security features of a Unix/Linux operating system; each user has his/her own /home directory unreadable by other users. (root excepted)

Play Bonny!

:hattip:


All times are GMT -5. The time now is 10:21 PM.