LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: home_king

最近碰到的一件趣事

[复制链接]
发表于 2004-12-12 08:28:14 | 显示全部楼层
最初由 redhat008 发表
doom3d是不是在gzeasy显卡版那位大侠啊??:)

Sorry, wrong guy.
最初由 Fleta 发表
这个似乎不只是gentoo的问题,我试过knoppix里的parted也不支持ext3。
建议你试一下ext2resize,这贴可以参考一下:http://gentoo-wiki.com/HOWTO_Ins ... izing_the_Partition

According to the parted homepage, http://www.gnu.org/software/parted/

There is restriction in resizing ext3 partitions, "For ext2, ext3 and reiserfs: the start of the partition must stay fixed."

My computer in the office has the following configurations:

hda7 /(for iBox-on-HDD) ext3 6G
hda8 /boot ext3 40M
hda9 swap 384M
hda10 /(for kanotix) ext3 6G

Based on the info from parted homepage, I cannot resize (increase) hda8 by deleting hda7.  However, I should able to resize (extend) hda8 by deleting hda9.

I'll try this experiment with Knoppix-3.7 and SystemRescueCD-0.2.15.  But I can only do it after I return to the office where I have the CDs and ext3 partitions to play with.

Sadly, not now but next Wed.
发表于 2004-12-12 12:40:36 | 显示全部楼层
The problem is that parted shows an error message when I check an ext3 partition or similarly when I right-click the partion in qtparted  I see the 'resize' option faded. I understand your point about the start of the ext3 partitions being fixed, but I suppose I can shrink it, right? Let's say, shrink hda7 to 5G, so there'll be some space freed between hda7 and hda8, but I can't even do that.:confused:
 楼主| 发表于 2004-12-12 22:57:43 | 显示全部楼层
顶。
发表于 2004-12-15 20:44:28 | 显示全部楼层
教主, Fleta兄, bad news!

My experiments to resize ext3 partitions with both Knoppix and SystemRescueCD have negative results.

In QTparted, the resize option is faded.  While in parted, the resize operation is not executed even I clearly supplied the relevant parameters.

If I create a new ext2 partition, then everything is fine.  On the other hand, ext2resize only support ext2.  http://gentoo-wiki.com/HOWTO_Ins ... izing_the_Partition also instructs you to convert ext3 to ext2 before the resize operation.  Well, in this case, it makes no differences with parted/QTparted to resize ext2 partitions.

In short, I am unable to resize a ext3 partition without any conversions.  How come the parted homepage describe ext2/ext3 can be resized under restriction?

Did we miss anything?
发表于 2004-12-15 20:53:38 | 显示全部楼层
也许用lvm是一个不错的选择。大家说呢?。

我实在讨厌不能动态分区这个问题。我是用xfs的。(不怪Linux,不过要有一个解决方法。^_^)
发表于 2004-12-16 11:40:45 | 显示全部楼层
我说个听听哈 没实验过
ghost9.0不知道能否支持linux的系统备份(ghost应该不支持linux分区的写所以不能将备份写在linux分区上,也就是必须保证有fat分区)
如果能就做个ghost到系统的其他分区然后用livecd启动删根分区重建然后再ghost回来
ghost背份时可以使用压缩 估计不会占用太多空间
发表于 2004-12-16 11:46:53 | 显示全部楼层
你是说做个全备份摆到一个安全的地方,改完分区后再还原?这个用tar就行了:http://www.linuxsir.cn/forum.php?mod=viewthread&tid=162654
发表于 2004-12-17 14:12:45 | 显示全部楼层
看了一下 确实不错
不过ghost的备份 和还原操作都是非常迅速和安全的
还是推荐有fat分区用户使用ghost
你们这些只用linux老鸟就用tar好了 :)
发表于 2004-12-17 14:13:05 | 显示全部楼层
不过我们的讨论都有点超出动态分区的范围了 :) 不好意思
发表于 2004-12-19 10:33:48 | 显示全部楼层
Post by d00m3d
教主, Fleta兄, bad news!

My experiments to resize ext3 partitions with both Knoppix and SystemRescueCD have negative results.

In QTparted, the resize option is faded.  While in parted, the resize operation is not executed even I clearly supplied the relevant parameters.

If I create a new ext2 partition, then everything is fine.  On the other hand, ext2resize only support ext2.  http://gentoo-wiki.com/HOWTO_Ins ... izing_the_Partition also instructs you to convert ext3 to ext2 before the resize operation.  Well, in this case, it makes no differences with parted/QTparted to resize ext2 partitions.

In short, I am unable to resize a ext3 partition without any conversions.  How come the parted homepage describe ext2/ext3 can be resized under restriction?

Did we miss anything?

I made a fundamental mistake!  Website always provide information for the latest version, but LiveCDs may be not.

Although Knoppix-3.7 and the SystemRescueCD-0.2.15 are the latest release, the packages supplied are not necessarily the latest, esp. in Debian.  On the other hand, SystemRescueCD is gentoo based but 0.2.15 is released for a period of time.

I have a visit to distrowatch.com this morning and found that parted has released a new version 1.6.20.  Then I immediately check the version that supplied with Knoppix.  My goodness, it is only 1.6.11.

1.6.11 is provided in Debian testing branch and 1.6.19 is provided in Debian experimental branch in which additional package (libreadline5) may be needed from the unstable branch.  I have downloaded these packages and I shall repeat the experiment again when I return to the office on next Tue.

Hope the newer version of parted can resize ext3.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表