[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1885
  • Last Modified:

ZFS Nexenta: please advise howto add a disk to pool (forced command line)

Hi,

ZFS Nexenta: please advise howto add a disk to pool (forced command line).


setup volume syspool via ssh gives me option to add extra disk but because size is different, it tells me to use -f (force) option. However, I don't find this option.

Existing LUN                : c0t5d0
New LUN to attach           : c0t4d0
Attach 'c0t4d0' to form a mirror configuration (or be added into existing mirror, if it exists) alongside 'c0t5d0' in the volume 'syspool'?  Yes

  Make sure that 'c0t4d0' is not part of an exported volume. Hint: use
  -f (force) option to ignore the warning and carry out the operation.

Note: any risks on putting two different sizes of disks as mirrored disk?

Please advise.
J.
0
janhoedt
Asked:
janhoedt
  • 8
  • 3
1 Solution
 
janhoedtAuthor Commented:
Note:

admin@Nexenta:~$ zpool attach syspool c0t5d0 c0t4d0
cannot open 'c0t4d0': no such device in /dev/dsk
must be a full path or shorthand device name
0
 
janhoedtAuthor Commented:
Note: c0t4d0s0 is part of exported or potentially active ZFS volume syspool
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
in nexenta you use the command

setup volume, when you use this command you will see options

select syspool with the arrow keys, and then select

attach-lun

then select existing LUN (disk)

then select the New LUN to attach

or full command

setup volume syspool attach-lun
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
janhoedtAuthor Commented:
I know, but it wont let me, please see above. Therefore I was looking for force option.
0
 
janhoedtAuthor Commented:
Text is pasted of menu commandline setup volume.
0
 
janhoedtAuthor Commented:
Maybe I should format disk first, but how?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
have you tried -f ?
0
 
janhoedtAuthor Commented:
There is no possibility to use -f. When you enter setup volume there is a menu driven option only.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
use the full command line
0
 
janhoedtAuthor Commented:
That s what I was looking for. My line is not working correctly.
0
 
janhoedtAuthor Commented:
setup volume syspool attach-lun -f works fine but destination volume is to small .... It took my 250 GB SATA disk as first one, now it can add the 100 GB SATA as second one. Will have to start all over :-)
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 8
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now