Solved

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

Posted on 2013-01-07
11
1,680 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

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