Operating System - Linux
1752588 Members
4422 Online
108788 Solutions
New Discussion юеВ

Re: partitioning in RHEL 5

 
venugopalanramraj
Occasional Contributor

partitioning in RHEL 5

dear all,

how i able to make a partition same size for all the hard disk (in case i have 5 hard disk in each hard disk i need to create same partition with sane size in one command)
2 REPLIES 2
Modris Bremze
Esteemed Contributor

Re: partitioning in RHEL 5

man fdisk
Alzhy
Honored Contributor

Re: partitioning in RHEL 5

sfdisk is the command you will need.


sfdisk -d /dev/sdx /dev/sdaa

will copy /dev/sdx's partition table to /dev/sdaa

This works very will in making sure all your other sijilarly sized disks have the same parition table for situatios like Oracle storage or maing a software raid array.
Hakuna Matata.