Avatar of janhoedt
janhoedt
 asked on

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.
VMware

Avatar of undefined
Last Comment
janhoedt

8/22/2022 - Mon
janhoedt

ASKER
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
janhoedt

ASKER
Note: c0t4d0s0 is part of exported or potentially active ZFS volume syspool
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
janhoedt

ASKER
I know, but it wont let me, please see above. Therefore I was looking for force option.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
janhoedt

ASKER
Text is pasted of menu commandline setup volume.
janhoedt

ASKER
Maybe I should format disk first, but how?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

have you tried -f ?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
janhoedt

ASKER
There is no possibility to use -f. When you enter setup volume there is a menu driven option only.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

use the full command line
janhoedt

ASKER
That s what I was looking for. My line is not working correctly.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
janhoedt

ASKER
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 :-)