more exact info please.
gmirror status
mount or cat /etc/fstab
now much better - i know that you mirrored whole drives and then
partitioned.
are whole mirror labeled? if yes - what partition you have to trim down?
if now - where are place (give me bsdlabel gm0s1 output)
as you have 2 drives it's quite easy:
it would be like that:
gmirror remove gm0 ad6
gmirror forget ad6
gmirror clear /dev/ad6
gmirror label -b round-robin -s 1048576 m0 /dev/ad6
^^^^^^^^^^^^^^^^^^^^^^^^
that's options i use, use what you think it's good for you.
now - you have 2 degraded mirrors. old - gm0, new - m0
now partition m0 as you like.
then - get the system down to single user, unmount everything except /,
make / read-only
then:
with partition that are same sized use dd if=/dev/oldpartition
of=/dev/newpartition bs=1m
others - use newfs and tar|tar to copy files
after all done, mount new root partition somewhere read write, and fix
etc/fstab
at the end - don't forget to bsdlabel -B
then reboot from ad6.
after successful boot:
gmirror stop gm0
gmirror clear ad4
gmirror insert m0 ad4
to get all new things mirrored.
PS. my advice. make one big partition+swap instead of so many. you won't
have such problems again
Name Status Components
mirror/gm0 COMPLETE ad4
ad6
# Device Mountpoint FStype Options Dump Pass#
/dev/mirror/gm0s1b none swap sw 0 0
/dev/mirror/gm0s1a / ufs rw 1 1
/dev/mirror/gm0s1h /exports ufs rw 2 2
/dev/mirror/gm0s1g /home ufs rw 2 2
/dev/mirror/gm0s1d /usr ufs rw 2 2
/dev/mirror/gm0s1e /usr/local ufs rw 2 2
/dev/mirror/gm0s1f /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
#/dev/da0s1 /mnt/root ufs ro 0 0
#/dev/da0s1b none swap sw 0 0
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"