Solved

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

Posted on 2013-01-07
11
1,695 Views
Last Modified: 2013-01-07
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
Comment
Question by:janhoedt
  • 8
  • 3
11 Comments
 

Author Comment

by:janhoedt
ID: 38751176
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
 

Author Comment

by:janhoedt
ID: 38751198
Note: c0t4d0s0 is part of exported or potentially active ZFS volume syspool
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 38751280
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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:janhoedt
ID: 38751405
I know, but it wont let me, please see above. Therefore I was looking for force option.
0
 

Author Comment

by:janhoedt
ID: 38751413
Text is pasted of menu commandline setup volume.
0
 

Author Comment

by:janhoedt
ID: 38751417
Maybe I should format disk first, but how?
0
 
LVL 119
ID: 38751990
have you tried -f ?
0
 

Author Comment

by:janhoedt
ID: 38752107
There is no possibility to use -f. When you enter setup volume there is a menu driven option only.
0
 
LVL 119
ID: 38752146
use the full command line
0
 

Author Comment

by:janhoedt
ID: 38752160
That s what I was looking for. My line is not working correctly.
0
 

Author Closing Comment

by:janhoedt
ID: 38752850
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
New Relic 3 27
Cant access ESXI 4 63
VMWARE heartbeat 2 64
Storage DRS Recommendation Alert 3 64
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question