LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-16-2014, 12:01 PM   #1
Subject16
Member
 
Registered: Nov 2009
Posts: 46

Rep: Reputation: 1
Adding Not-Quite-New Disk in OpenIndiana


Hi,

I'm asking this here because my understanding is that OpenIndiana and OpenSolaris are related enough that OpenSolaris commands/philosophy will translate.

I have a server with 3 disks, in a zfs mirror root pool. I am working on replacing them one by one to increase the available disk space. My plan is to install a "new" disk and do zfs replace, one by one. However, the only disks I have to use are leftovers from downed servers so they have already been formatted/used in CentOS systems. I think this is why when I insert the disk and cfgadm -l, I don't see it.

Code:
Ap_Id                          Type         Receptacle   Occupant     Condition
sata0/0::dsk/c3t0d0            disk         connected    configured   ok
sata0/1::dsk/c3t1d0            disk         connected    configured   ok
sata0/2::dsk/c3t2d0            disk         connected    configured   ok
sata0/3                        disk         connected    unconfigured unknown
sata0/3 is where the "new" disk is. I have searched online and can find no clue as to how to empty this drive or do whatever I need to do to have it show up as c3t3d0. I checked /dev/dsk/ and it doesn't show up there. I can't even dd because I have no device name. Can anyone provide guidance as to what I need to do?
 
Old 04-16-2014, 02:01 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
You need to format and partition the disk using the Solaris fdisk utility.

http://docs.oracle.com/cd/E23824_01/...ksxadd-50.html
 
Old 04-16-2014, 02:16 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I doubt the fact the disk was previously used by Centos has any impact.

As the disk is in unconfigured state, I would start with:

Code:
cfgadm -c configure sata0/3
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Adding disk - jumble of disk device names bluekill14 Linux - Hardware 7 07-26-2011 09:28 AM
Adding second hard disk with windows to boot with grub on first hard disk rushadrenaline Linux - Hardware 3 07-08-2009 04:39 AM
adding new disk wynnsk8 Linux - Newbie 4 02-11-2008 11:13 PM
RAID 1: adding a new SCSI disk to existing disk.... help mgy Linux - Enterprise 4 04-17-2006 03:56 AM
Adding another disk JSLayton Slackware 6 01-26-2006 04:18 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration