hi folks,
i have a vdi = 8GB with zfs volume and Solaris 10_u9
Now i have create another vdi 30 GB. Then i have copy the Data from the 8GB to 30GB with dd.
Boot from the Disk are okay. i see the new disk (30GB) only with 8GB
Now i will resize the Disk from 8GB to 30GB.
Any ideas how i can do it ?
by levada
grow zfs volume
-
- Posts: 41
- Joined: 26. Apr 2009, 10:35
- Primary OS: OpenSolaris 11
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: grow zfs volume
Not this way!
You should look up how to create a mirror first of the two drives then remove the smaller drive from the mirror after it has replicated. This should allow the full space on the other drive. Do not use dd as this is not how zfs is designed to work. You could also try using zfs send and receive commands which will also achieve the same result. There are a number of posts on the opensolaris forums and on the web about this very problem.
Good luck
You should look up how to create a mirror first of the two drives then remove the smaller drive from the mirror after it has replicated. This should allow the full space on the other drive. Do not use dd as this is not how zfs is designed to work. You could also try using zfs send and receive commands which will also achieve the same result. There are a number of posts on the opensolaris forums and on the web about this very problem.
Good luck