LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-14-2015, 01:45 AM   #1
Maham Zahid
LQ Newbie
 
Registered: Sep 2015
Location: Pakistan
Posts: 13

Rep: Reputation: Disabled
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
 
Old 09-14-2015, 02:03 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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.

Last edited by syg00; 09-14-2015 at 02:03 AM. Reason: typo
 
Old 09-14-2015, 02:20 AM   #3
Maham Zahid
LQ Newbie
 
Registered: Sep 2015
Location: Pakistan
Posts: 13

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-14-2015, 09:38 AM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
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. What type of IBM server by the way? X Series, P series? What model?

Play Bonny!


Last edited by Soadyheid; 09-14-2015 at 09:44 AM.
 
Old 09-14-2015, 09:59 AM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i agree with soadyheid.

i use gparted to play around with partitions.
 
Old 09-14-2015, 10:29 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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/
 
Old 09-14-2015, 08:15 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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.
 
Old 09-14-2015, 11:55 PM   #8
Maham Zahid
LQ Newbie
 
Registered: Sep 2015
Location: Pakistan
Posts: 13

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-15-2015, 12:15 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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

Last edited by John VV; 09-15-2015 at 12:18 AM.
 
1 members found this post helpful.
Old 09-15-2015, 07:12 AM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Maham Zahid View Post
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 ?
 
Old 09-15-2015, 07:59 AM   #11
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
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!

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving one partition to another partition on the same hard drive ruguloo Linux - Desktop 2 05-10-2011 10:01 AM
Copying a partition from one hard drive to the same partition on another hard drive pylagan Linux - General 1 03-23-2010 12:02 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
-=-How do I partition my hard drive-=- Tsukasa7 Linux - Newbie 1 02-10-2005 02:46 PM
cannot seem to partition my hard drive boo_reefa Linux - Software 1 06-16-2001 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration