Re: gpart resize vs. cache?
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"
討論串 (同標題文章)
完整討論串 (本文為第 5 之 5 篇):