From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roman Mamedov Subject: Re: Raid 5 Array Date: Sun, 3 Apr 2011 23:50:49 +0600 Message-ID: <20110403235049.5c940295@natsu> References: <4D977279.30107@gmail.com> <4D97828C.8050806@gmail.com> <6158157523854459259@unknownmsgid> <20110403040113.472838d4@natsu> <20110403174900.38de17e2@notabene.brown> <20110403210138.584c796c@notabene.brown> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/8GEDU=ZG5umvtHIu313/Rd6"; protocol="application/pgp-signature" Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Marcus Cc: NeilBrown , Roberto Spadim , Simon Mcnair , "linux-raid@vger.kernel.org" List-Id: linux-raid.ids --Sig_/8GEDU=ZG5umvtHIu313/Rd6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 3 Apr 2011 10:46:23 -0700 Marcus wrote: > I provided you all relevant information if you payed attention to > sizes and the fact that I stated that I can add a new partition to the > device you would have realized that I have already applied grow to the > raid. >=20 > 1465159552 raid size > 976767808 partition size >=20 > See how partition is smaller than raid by about 500GB? Then why not run "cfdisk /dev/md2" (I recommend the version from "GNU fdisk= "), notice that you have a 900GB partition there and 500 GB of free space, then resize the partition? > nexuslite@ubuntu:~$ resize2fs -p /dev/md2p1 > resize2fs 1.41.11 (14-Mar-2010) > The filesystem is already 244191952 blocks long. Nothing to do! >=20 > There is the exact message resize2fs is returning. 244191968 is the > current end block of the partition. parted also shows 244191968 as the > maximum block size for a partition. There are no related dmesg because > it is not an error it is just undesired results. You don't seem to understand the difference between /dev/md2 and /dev/md2p1. And also that resize2fs will not resize md2p1, it will only amend the ext* filesystem so that it takes all of md2p1. --=20 With respect, Roman --Sig_/8GEDU=ZG5umvtHIu313/Rd6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk2Ys3kACgkQTLKSvz+PZwh0lACeOCQpMWiyJrexNN9uPmdow+2f o7UAnju3lJpRnF3do9GwSP9FYAjFxC6j =eCuH -----END PGP SIGNATURE----- --Sig_/8GEDU=ZG5umvtHIu313/Rd6--