jeffshowalter7
Cadet
- Joined
- Jun 13, 2011
- Messages
- 7
Hello all,
I am currently running freenas 8.0 64bit hopefully i haven't missed something in trying to figure this out.
Synopsis of info below:
I have a zfs 1 disk drive with data on it. I want to add a disk to it to make a mirror then have it show all drives correct in webgui
in depth of my issues:
I created (using the webgui) a zfs volume with 1 disk with the intention of making it a mirror later as I had to move data around to get a free drive. So I got an available drive and wanted to add it to the volume to create a mirror. I didn't see anything in 8.0 web that would allow me to do that, so I got on the terminal. I couldn't find the command(in Solaris i think it was just "format") to show the disk names, so I looked under /dev and found the drives that were part of a volume already were in the /dev/gpt/folder but that ALL drives were in the /dev
so I ran:
zpool attach volume /dev/gpt/disk3 /dev/disk2
(not the correct names i know)
it re-silvered and was fine in the terminal.
Now obviously when I go back to the webgui and refresh, the volume still only has one drive listed. And the other drive that I had been attached is still showing as an available drive to use(obviously not something I want) :)
I believe my problem is due to the drive not being listed in gpt location as when the drives were created through the gui, they made a link to the /dev/gpt folder or something like that
Hoping someone can point me in the right direction.
thanks,
I am currently running freenas 8.0 64bit hopefully i haven't missed something in trying to figure this out.
Synopsis of info below:
I have a zfs 1 disk drive with data on it. I want to add a disk to it to make a mirror then have it show all drives correct in webgui
in depth of my issues:
I created (using the webgui) a zfs volume with 1 disk with the intention of making it a mirror later as I had to move data around to get a free drive. So I got an available drive and wanted to add it to the volume to create a mirror. I didn't see anything in 8.0 web that would allow me to do that, so I got on the terminal. I couldn't find the command(in Solaris i think it was just "format") to show the disk names, so I looked under /dev and found the drives that were part of a volume already were in the /dev/gpt/folder but that ALL drives were in the /dev
so I ran:
zpool attach volume /dev/gpt/disk3 /dev/disk2
(not the correct names i know)
it re-silvered and was fine in the terminal.
Now obviously when I go back to the webgui and refresh, the volume still only has one drive listed. And the other drive that I had been attached is still showing as an available drive to use(obviously not something I want) :)
I believe my problem is due to the drive not being listed in gpt location as when the drives were created through the gui, they made a link to the /dev/gpt folder or something like that
Hoping someone can point me in the right direction.
thanks,