* [uml-devel] resizing root_fs
@ 2005-04-13 4:07 itamar
2005-04-14 21:03 ` Blaisorblade
0 siblings, 1 reply; 3+ messages in thread
From: itamar @ 2005-04-13 4:07 UTC (permalink / raw)
To: uml-user; +Cc: uml-devel
dd if=/dev/zero of=root_fs.ext3 bs=1 count=1 seek=40G conv=notrunc
[root@router conacci]# resize2fs -p root_fs.ext3
resize2fs 1.36 (05-Feb-2005)
resize2fs: File too large while trying to determine filesystem size
[root@router conacci]#
how to resize this file ?
Itamar Reis Peixoto
+55 (34) 3238 3845
e-mail : itamar@ispbrasil.com.br
http://www.ispbrasil.com.br
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] resizing root_fs
2005-04-13 4:07 [uml-devel] resizing root_fs itamar
@ 2005-04-14 21:03 ` Blaisorblade
2005-04-14 21:53 ` [uml-user] " Frank Sorenson
0 siblings, 1 reply; 3+ messages in thread
From: Blaisorblade @ 2005-04-14 21:03 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: itamar, uml-user
On Wednesday 13 April 2005 06:07, itamar wrote:
> dd if=/dev/zero of=root_fs.ext3 bs=1 count=1 seek=40G conv=notrunc
Right enlarging command, it seems.
> [root@router conacci]# resize2fs -p root_fs.ext3
> resize2fs 1.36 (05-Feb-2005)
> resize2fs: File too large while trying to determine filesystem size
This old resize2fs has a problem because the file is >= 2G (or something like
that), it seems... probably truncating the file to a more normal size and
retesting will work, so you possibly hit a resize2fs bug... at least so I
guess. It's strange though, but I don't see any other possible explaination.
> [root@router conacci]#
> how to resize this file ?
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-user] Re: [uml-devel] resizing root_fs
2005-04-14 21:03 ` Blaisorblade
@ 2005-04-14 21:53 ` Frank Sorenson
0 siblings, 0 replies; 3+ messages in thread
From: Frank Sorenson @ 2005-04-14 21:53 UTC (permalink / raw)
To: Blaisorblade; +Cc: user-mode-linux-devel, itamar, uml-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Blaisorblade wrote:
> On Wednesday 13 April 2005 06:07, itamar wrote:
>
>>dd if=/dev/zero of=root_fs.ext3 bs=1 count=1 seek=40G conv=notrunc
>
> Right enlarging command, it seems.
>
>>[root@router conacci]# resize2fs -p root_fs.ext3
>>resize2fs 1.36 (05-Feb-2005)
>>resize2fs: File too large while trying to determine filesystem size
>
>
> This old resize2fs has a problem because the file is >= 2G (or something like
> that), it seems... probably truncating the file to a more normal size and
> retesting will work, so you possibly hit a resize2fs bug... at least so I
> guess. It's strange though, but I don't see any other possible explaination.
Because the filesystem size was so small to begin with (256 MB if I
remember correctly), inodes only represent 1K of data. Resizing the
filesystem then creates more 1K blocks, but you run into the maximum
number of inodes that the filesystem can create. Try to determine the
maximum size you can resize to, or create the new large filesystem and
move everything from the old to the new.
Frank
- --
Frank Sorenson - KD7TZK
Systems Manager, Computer Science Department
Brigham Young University
frank@tuxrocks.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCXuZWaI0dwg4A47wRAnFSAKCdfYAJsopZh/GmLiVvDiL/sTgoDgCeJy9R
KpeFtqFoDf9WkGOdEY1g03Y=
=ELrL
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-14 21:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-13 4:07 [uml-devel] resizing root_fs itamar
2005-04-14 21:03 ` Blaisorblade
2005-04-14 21:53 ` [uml-user] " Frank Sorenson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.