Re: gpart resize vs. cache?

看板FB_current作者時間12年前 (2013/04/27 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/5 (看更多)
Hi, On Sun, 3 Feb 2013 12:06:41 -0800 Tim Kientzle <kientzle@freebsd.org> wrote: > I'm tinkering with a disk image that automatically > fills whatever media you put it onto. But I'm having > trouble with gpart resize failing. > > Disk layout: > MBR with two slices mmcsd0s1 and mmcsd0s2 > bsdlabel with one partition mmcsd0s2a > > Before I can use growfs, I have two gpart resize operations: > > 1) gpart resize -i 2 mmcsd0 > > 2) gpart resize -i 1 mmcsd0s2 > > Step 1 resizes mmcsd0s2 and always succeeds. > > Step 2 resizes mmcsd0s2a and always fails > with "No space on device." > I used a gpart show between in a different situation. The script did not work without it. When I entered the same commands from the command line, they all worked. So, things could be related to cache or delayed writes. Erich _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HUsBJtP (FB_current)
文章代碼(AID): #1HUsBJtP (FB_current)