Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Partition large disk (http://www.linux-archive.org/centos/703631-partition-large-disk.html)

09-13-2012 08:30 PM

Partition large disk
 
Hi, Tony,

Tony Molloy wrote:
>
> I have a 24TB RAID6 disk with a GPT partition table on it. I need to
> partition it into 2 partitions one of 16TB and 1 of 8TB to put ext4
> filesystems on both. But I really need to do this remotely. ( if I can
> get to the site I could use gparted )
>
> Now fdisk doesn't understand GPT partition tables and pat

You have to use either parted or gparted, and as much as I prefer command
line, parted is user hostile; gparted's just the gui on top of parted. It
works fine, AFAIK, though I've only used it on 3TB drives.

mark

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Keith Keller 09-13-2012 09:24 PM

Partition large disk
 
On 2012-09-13, m.roth@5-cent.us <m.roth@5-cent.us> wrote:
>
> Tony Molloy wrote:
>>
>> I have a 24TB RAID6 disk with a GPT partition table on it. I need to
>> partition it into 2 partitions one of 16TB and 1 of 8TB to put ext4
>> filesystems on both. But I really need to do this remotely. ( if I can
>> get to the site I could use gparted )
>>
>> Now fdisk doesn't understand GPT partition tables and pat
>
> You have to use either parted or gparted, and as much as I prefer command
> line, parted is user hostile; gparted's just the gui on top of parted. It
> works fine, AFAIK, though I've only used it on 3TB drives.

I've used parted on 10TB and up disk arrays with no problems. I
wouldn't call parted's CLI "hostile", but I would definitely suggest
having the docs close by.

--keith

--
kkeller@wombat.san-francisco.ca.us


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

09-13-2012 09:30 PM

Partition large disk
 
Keith Keller wrote:
> On 2012-09-13, m.roth@5-cent.us <m.roth@5-cent.us> wrote:
>> Tony Molloy wrote:
>>>
>>> I have a 24TB RAID6 disk with a GPT partition table on it. I need to
>>> partition it into 2 partitions one of 16TB and 1 of 8TB to put ext4
>>> filesystems on both. But I really need to do this remotely. ( if I can
>>> get to the site I could use gparted )
>>>
>>> Now fdisk doesn't understand GPT partition tables and pat
>>
>> You have to use either parted or gparted, and as much as I prefer
>> command line, parted is user hostile; gparted's just the gui on top
>> of parted. It works fine, AFAIK, though I've only used it on 3TB drives.
>
> I've used parted on 10TB and up disk arrays with no problems. I
> wouldn't call parted's CLI "hostile", but I would definitely suggest
> having the docs close by.

Hostile: I start parted up with -optimum, and it still doesn't set the
default start for a partition by itself, nor does it suggest in any way,
shape, or form what it wants you to do. You have to google to find out.

mark

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Lamar Owen 09-13-2012 09:38 PM

Partition large disk
 
On Thursday, September 13, 2012 04:16:33 PM Tony Molloy wrote:
>
> Hi,
>
> I have a 24TB RAID6 disk with a GPT partition table on it. I need to
> partition it into 2 partitions one of 16TB and 1 of 8TB to put ext4
> filesystems on both. But I really need to do this remotely. ( if I can
> get to the site I could use gparted )
>
> Now fdisk doesn't understand GPT partition tables and pat

Install gdisk from EPEL. Syntax is very similar to fdisk, and saner if you're used to fdisk versus parted. Home page is at http://www.rodsbooks.com/gdisk/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

"James A. Peltier" 09-14-2012 03:26 AM

Partition large disk
 
----- Original Message -----
|
| Hi,
|
| I have a 24TB RAID6 disk with a GPT partition table on it. I need to
| partition it into 2 partitions one of 16TB and 1 of 8TB to put ext4
| filesystems on both. But I really need to do this remotely. ( if I
| can
| get to the site I could use gparted )
|
| Now fdisk doesn't understand GPT partition tables and pat

Is there any reason why you can't just use a whole disk LVM PV and then use LVM to create VGs and LVs of the required size?

--
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone : 778-782-6573
Fax : 778-782-3045
E-Mail : jpeltier@sfu.ca
Website : http://www.sfu.ca/itservices
http://blogs.sfu.ca/people/jpeltier

Success is to be measured not so much by the position that one has reached
in life but as by the obstacles they have overcome. - Booker T. Washington
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Tony Molloy 09-14-2012 08:07 AM

Partition large disk
 
On Thursday 13 September 2012 21:16:33 Tony Molloy wrote:
> Hi,
>
> I have a 24TB RAID6 disk with a GPT partition table on it. I need
> to partition it into 2 partitions one of 16TB and 1 of 8TB to put
> ext4 filesystems on both. But I really need to do this remotely. (
> if I can get to the site I could use gparted )
>
> Now fdisk doesn't understand GPT partition tables and pat
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


OOPS that was fat fingers. I didn't mean to send it.

I figured out parted can do the job for me but the interface is not the
best. Can't use gparted as I said I have to do this remotely.

I'll certainly have a look at gdisk

Sorry for the noise. I'll let people know how I get on after the
weekend.

Tony
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Laurent 09-14-2012 08:26 AM

Partition large disk
 
Le 2012-09-14 10:07, Tony Molloy a écrit*:
>
> OOPS that was fat fingers. I didn't mean to send it.
>
> I figured out parted can do the job for me but the interface is not
> the
> best. Can't use gparted as I said I have to do this remotely.

Even if you need to do this remotely, you can use gparted through ssh
with X11 forwarding.


> I'll certainly have a look at gdisk
>
> Sorry for the noise. I'll let people know how I get on after the
> weekend.

If you consider resizing your RAID volumes one day, I'll recommend the
already proposed solution: use LVM, with physical volume directly on the
disk device. No partitionning. Why ? Because, as far as I known, parted
developers has decided to remove the unmaintained/old code to resize
ext* filesystems from parted.

I don't know about gdisk features. Perhaps, it can do better than
parted...

Regards,
--
Laurent.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Lamar Owen 09-14-2012 05:37 PM

Partition large disk
 
On Friday, September 14, 2012 04:26:11 AM Laurent wrote:
> I don't know about gdisk features. Perhaps, it can do better than
> parted...

The feature set of gdisk is virtually identical to the feature set of fdisk, as 'gdisk' means 'GPT fdisk.'

No filesystem resizing support, AFAIK.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Tony Molloy 09-15-2012 08:06 AM

Partition large disk
 
On Friday 14 September 2012 09:26:11 Laurent wrote:
> Le 2012-09-14 10:07, Tony Molloy a écrit :
> > OOPS that was fat fingers. I didn't mean to send it.
> >
> > I figured out parted can do the job for me but the interface is
> > not the
> > best. Can't use gparted as I said I have to do this remotely.
>
> Even if you need to do this remotely, you can use gparted through
> ssh with X11 forwarding.

Worked like a dream. Can't understand how I didn't think of looking
for an rpm of gparted. I only ever used the live-cd version before.
Thanks.
>
> > I'll certainly have a look at gdisk
> >
> > Sorry for the noise. I'll let people know how I get on after the
> > weekend.
>
> If you consider resizing your RAID volumes one day, I'll recommend
> the already proposed solution: use LVM, with physical volume
> directly on the disk device. No partitionning. Why ? Because, as
> far as I known, parted developers has decided to remove the
> unmaintained/old code to resize ext* filesystems from parted.
>

The partition sizes required are fixed for their lifetime so LVM is not
needed only adding complexity.

Tony
> I don't know about gdisk features. Perhaps, it can do better than
> parted...
>
> Regards,
>
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 11:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.