2011-06-17 9:37, Michael Schuster пишет:

I'd suggest a somewhat different approach:
1) boot a live cd and use something like parted to shrink the NTFS partition
2) create a new partition without FS in the space now freed from NTFS
3) boot OpenSolaris, add the partition from 2) as vdev to your zpool.

HTH
Michael
I gather that he is trying to expand his root pool, and you can
not add a vdev to one. Though, true, it might be possible to
create a second, data pool, in the partition. I am not sure if
zfs can make two pools in different partitions of the same
device though - underneath it still uses Solaris slices, and
I think those can be used on one partition. That was my
assumption for a long time, though never really tested.

I only did similar expansions within one slice table which
covered the whole disk, and that was a mirror set so I
could juggle data around (migrating to ZFS Root from
UFS+LUroot+swap layouts, where sometimes original
slices did not all go after each other). That went well,
and autoexpansion worked as soon as I increased
the slice sizes via format's partition editor. And maybe
rebooted too...

I think the method of zfs send/recv via a secondary device
(including network storage) and another boot device
(including a LiveCD|LiveUSB), and remaking the partition,
is the least error-prone for this poster's situation.

And resizing the system NTFS partition is really unlikely
to be allowed from within running Windows. It should be
done from some external booting software, and probably
after such defragmentation which would stuff all data into
start or end of that NTFS partition as appropriate (see for
example the free JkDefrag/MyDefrag project).


--


+============================================================+
|                                                            |
| Климов Евгений,                                 Jim Klimov |
| технический директор                                   CTO |
| ЗАО "ЦОС и ВТ"                                  JSC COS&HT |
|                                                            |
| +7-903-7705859 (cellular)          mailto:jimkli...@cos.ru |
|                          CC:ad...@cos.ru,jimkli...@mail.ru |
+============================================================+
| ()  ascii ribbon campaign - against html mail              |
| /\                        - against microsoft attachments  |
+============================================================+



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to