9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] read: i/o error: at installation
Date: Sun, 22 Oct 2006 14:03:35 -0400	[thread overview]
Message-ID: <ee9e417a0610221103i7dfc7536t4be5da96f6c39c21@mail.gmail.com> (raw)
In-Reply-To: <ae6312490610221015j2cd4c11ka7af63e28f0f6244@mail.gmail.com>

>  >From the resize2fs() manpage:
>  If you wish to shrink an ext2 partition, first use resize2fs to shrink the
> size of filesystem. Then you may use fdisk(8) to shrink the size of the
> partition. When shrinking the size of the partition, make sure you do not
> make it smaller than the new size of the ext2 filesystem!
>
>  I've looked into fdisk(8), but found no way of shrinking a partition. I
> might be able to delete it and start it at the same cylinder, but that
> sounds risky.

That's exactly what the resize2fs man page is saying you should do.

I would stay far away from GNU parted.  I've had nothing but bad
experiences with it.

Russ


  reply	other threads:[~2006-10-22 18:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-21 18:11 Yosyp Bin Laden
2006-10-21 18:49 ` Sascha Retzki
2006-10-21 20:12   ` Yosyp Bin Laden
2006-10-22 15:45     ` erik quanstrom
2006-10-22 17:15       ` Yosyp Bin Laden
2006-10-22 18:03         ` Russ Cox [this message]
2006-10-23  0:04           ` Yosyp Bin Laden
2006-10-23 21:50             ` Yosyp Bin Laden
2006-10-22 15:42 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a0610221103i7dfc7536t4be5da96f6c39c21@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).