FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 12-25-2008, 03:42 AM
Barry Brimer
 
Default Linux Partitioning Issue

On Thu, 25 Dec 2008, Geofrey Rainey wrote:


I have a system with a raid 5 array which I have extended using HP array
Configuration utility tools. You can see from the output of fdisk below
That the disk has extra space:

Disk /dev/cciss/c0d0: 366.8 GB, 366870733824 bytes
255 heads, 63 sectors/track, 44602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 2563 20482875 8e Linux
LVM
/dev/cciss/c0d0p3 2564 2690 1020127+ 82 Linux
swap / Solaris
/dev/cciss/c0d0p4 2691 26761 193350307+ 5 Extended
/dev/cciss/c0d0p5 2691 26761 193350276 8e Linux
LVM

However because of the limited size of the extended partition I am
unable to
use the extra space, I receive the following error:

Command (m for help): n
No free sectors available

Command (m for help):

Presumably I have to remove partition 5 and also the extended partition
4, then resize
the extended partition to use the extra space. However I'm concerned
that I'll loose all
the data on partition 5, is there a way around this? I am wondering if I
specify the start
and end cylinders of partition 5 to be the same size will the data be
preserved?


In my experience if you have the starting position as before, all should be fine. Delete partition 5, delete
partition 4, create the new partition 4, with the old start and the
new end, create the new partition 5 with the same start cylinder for
partition 5 with a new end cylinder and then run ext2online (RHEL/CentOS
4) or resize2fs (RHEL/CentOS 5) to extend the filesystem. As always,
standard rules apply. Backups are good, more backups on different systems
/ disks are better.


Hope this helps.

Barry

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-26-2008, 03:25 AM
"Geofrey Rainey"
 
Default Linux Partitioning Issue

It worked, thank you Barry!

Regards,
Geoff.

-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of Barry Brimer
Sent: Thursday, 25 December 2008 5:42 p.m.
To: General Red Hat Linux discussion list
Subject: Re: Linux Partitioning Issue



On Thu, 25 Dec 2008, Geofrey Rainey wrote:

> I have a system with a raid 5 array which I have extended using HP
> array Configuration utility tools. You can see from the output of
> fdisk below That the disk has extra space:
>
> Disk /dev/cciss/c0d0: 366.8 GB, 366870733824 bytes
> 255 heads, 63 sectors/track, 44602 cylinders Units = cylinders of
> 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/cciss/c0d0p1 * 1 13 104391 83 Linux
> /dev/cciss/c0d0p2 14 2563 20482875 8e Linux
> LVM
> /dev/cciss/c0d0p3 2564 2690 1020127+ 82 Linux
> swap / Solaris
> /dev/cciss/c0d0p4 2691 26761 193350307+ 5
Extended
> /dev/cciss/c0d0p5 2691 26761 193350276 8e Linux
> LVM
>
> However because of the limited size of the extended partition I am
> unable to use the extra space, I receive the following error:
>
> Command (m for help): n
> No free sectors available
>
> Command (m for help):
>
> Presumably I have to remove partition 5 and also the extended
> partition 4, then resize the extended partition to use the extra
> space. However I'm concerned that I'll loose all the data on partition

> 5, is there a way around this? I am wondering if I specify the start
> and end cylinders of partition 5 to be the same size will the data be
> preserved?

In my experience if you have the starting position as before, all should
be fine. Delete partition 5, delete partition 4, create the new
partition 4, with the old start and the new end, create the new
partition 5 with the same start cylinder for partition 5 with a new end
cylinder and then run ext2online (RHEL/CentOS
4) or resize2fs (RHEL/CentOS 5) to extend the filesystem. As always,
standard rules apply. Backups are good, more backups on different
systems / disks are better.

Hope this helps.

Barry

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
================================================== ========
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz
================================================== ========
CAUTION: This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s). This information
is not to be used or stored by any other person and/or organisation.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-26-2008, 06:25 AM
Barry Brimer
 
Default Linux Partitioning Issue

You're welcome Geoff.

On Fri, 26 Dec 2008, Geofrey Rainey wrote:


It worked, thank you Barry!

Regards,
Geoff.

-----Original Message-----
From: redhat-list-bounces@redhat.com
[mailto:redhat-list-bounces@redhat.com] On Behalf Of Barry Brimer
Sent: Thursday, 25 December 2008 5:42 p.m.
To: General Red Hat Linux discussion list
Subject: Re: Linux Partitioning Issue



On Thu, 25 Dec 2008, Geofrey Rainey wrote:


I have a system with a raid 5 array which I have extended using HP
array Configuration utility tools. You can see from the output of
fdisk below That the disk has extra space:

Disk /dev/cciss/c0d0: 366.8 GB, 366870733824 bytes
255 heads, 63 sectors/track, 44602 cylinders Units = cylinders of
16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 2563 20482875 8e Linux
LVM
/dev/cciss/c0d0p3 2564 2690 1020127+ 82 Linux
swap / Solaris
/dev/cciss/c0d0p4 2691 26761 193350307+ 5

Extended

/dev/cciss/c0d0p5 2691 26761 193350276 8e Linux
LVM

However because of the limited size of the extended partition I am
unable to use the extra space, I receive the following error:

Command (m for help): n
No free sectors available

Command (m for help):

Presumably I have to remove partition 5 and also the extended
partition 4, then resize the extended partition to use the extra
space. However I'm concerned that I'll loose all the data on partition



5, is there a way around this? I am wondering if I specify the start
and end cylinders of partition 5 to be the same size will the data be
preserved?


In my experience if you have the starting position as before, all should
be fine. Delete partition 5, delete partition 4, create the new
partition 4, with the old start and the new end, create the new
partition 5 with the same start cylinder for partition 5 with a new end
cylinder and then run ext2online (RHEL/CentOS
4) or resize2fs (RHEL/CentOS 5) to extend the filesystem. As always,
standard rules apply. Backups are good, more backups on different
systems / disks are better.

Hope this helps.

Barry

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
================================================== ========
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz
================================================== ========
CAUTION: This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s). This information
is not to be used or stored by any other person and/or organisation.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

!DSPAM:49545cdf156144761715961!




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-29-2008, 02:43 PM
Thomas Fess
 
Default Linux Partitioning Issue

Are you using LVM?


--- On Wed, 12/24/08, Geofrey Rainey <Geofrey.Rainey@tvnz.co.nz> wrote:

> From: Geofrey Rainey <Geofrey.Rainey@tvnz.co.nz>
> Subject: Linux Partitioning Issue
> To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
> Date: Wednesday, December 24, 2008, 8:55 PM
> I have a system with a raid 5 array which I have extended
> using HP array
> Configuration utility tools. You can see from the output of
> fdisk below
> That the disk has extra space:
>
> Disk /dev/cciss/c0d0: 366.8 GB, 366870733824 bytes
> 255 heads, 63 sectors/track, 44602 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks
> Id System
> /dev/cciss/c0d0p1 * 1 13 104391
> 83 Linux
> /dev/cciss/c0d0p2 14 2563 20482875
> 8e Linux
> LVM
> /dev/cciss/c0d0p3 2564 2690 1020127+
> 82 Linux
> swap / Solaris
> /dev/cciss/c0d0p4 2691 26761 193350307+
> 5 Extended
> /dev/cciss/c0d0p5 2691 26761 193350276
> 8e Linux
> LVM
>
> However because of the limited size of the extended
> partition I am
> unable to
> use the extra space, I receive the following error:
>
> Command (m for help): n
> No free sectors available
>
> Command (m for help):
>
> Presumably I have to remove partition 5 and also the
> extended partition
> 4, then resize
> the extended partition to use the extra space. However
> I'm concerned
> that I'll loose all
> the data on partition 5, is there a way around this? I am
> wondering if I
> specify the start
> and end cylinders of partition 5 to be the same size will
> the data be
> preserved?
>
> Regards,
>
> Geofrey Rainey.
> ================================================== ========
> For more information on the Television New Zealand Group,
> visit us
> online at tvnz.co.nz
> ================================================== ========
> CAUTION: This e-mail and any attachment(s) contain
> information that
> is intended to be read only by the named recipient(s).
> This information
> is not to be used or stored by any other person and/or
> organisation.
>
>
> --
> redhat-list mailing list
> unsubscribe
> mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 10:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org