9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Yosyp Bin Laden" <yosyp.list@gmail.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 13:15:40 -0400	[thread overview]
Message-ID: <ae6312490610221015j2cd4c11ka7af63e28f0f6244@mail.gmail.com> (raw)
In-Reply-To: <c35f50ba95a45903c1a3fcb5c4fc2165@coraid.com>

[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]

I'll try that, but I tried something different earlier. I put in an 80GB
disk, it has one ext3 partition on it (80GB). I resized the filesystem
(resize2fs), and I booted from a liveCD and trying parted, but it doesn't
want to go.

#parted
(parted) resize 1 0 60G
No Implementation: This ext2 filesystem has a rather strange layout! Parted
can't resize this (yet).

Then I  remove journaling to make it truly ext2;
tune2fs -O^has_journal /dev/hda1

#parted
(parted) resize 1 0 60G
No Implementation: This ext2 filesystem has a rather strange layout! Parted
can't resize this (yet).

Just if you're wondering, I resized the filesystem to:
/dev/hda1   Used:38436MB  Available:1699MB  Use:96%

>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<http://www.die.net/doc/linux/man/man8/fdisk.8.html>
*(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.

[-- Attachment #2: Type: text/html, Size: 1386 bytes --]

  reply	other threads:[~2006-10-22 17:15 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 [this message]
2006-10-22 18:03         ` Russ Cox
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=ae6312490610221015j2cd4c11ka7af63e28f0f6244@mail.gmail.com \
    --to=yosyp.list@gmail.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).