?
Solved

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

Posted on 2013-01-07
11
Medium Priority
?
1,797 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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 123
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 123
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

752 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