Sponsored Content
Full Discussion: Replace failed drive in pool
Operating Systems Solaris Replace failed drive in pool Post 302929186 by randman1 on Thursday 18th of December 2014 01:20:05 PM
Old 12-18-2014
Replace failed drive in pool

I am not very savvy with Solaris but am responsible for a server running Solaris 10 that has a failed hard drive in a mirrored pool. I ordered a new drive and attempted to install but received the error "device too small" when using zpool replace. The drive is the same Seagate model number as the old one and has the same nominal capacity of 300GB. Here's what prtvtoc says about the disks. Note that c1t0d0s2 is the new drive.
Code:
# prtvtoc /dev/dsk/c1t0d0s2
  * /dev/dsk/c1t0d0s2 partition map
  *
  * Dimensions:
  *     512 bytes/sector
  *    4470 sectors/track
  *       2 tracks/cylinder
  *    8940 sectors/cylinder
  *   65535 cylinders
  *   65533 accessible cylinders
  *
  * Flags:
  *   1: unmountable
  *  10: read-only
  *
  *                          First     Sector    Last
  * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
         0      2    00          0 585865020 585865019
         2      5    01          0 585865020 585865019
  # prtvtoc /dev/dsk/c1t1d0s2
  * /dev/dsk/c1t1d0s2 partition map
  *
  * Dimensions:
  *     512 bytes/sector
  *     625 sectors/track
  *      20 tracks/cylinder
  *   12500 sectors/cylinder
  *   46875 cylinders
  *   46873 accessible cylinders
  *
  * Flags:
  *   1: unmountable
  *  10: read-only
  *
  *                          First     Sector    Last
  * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
         0      2    00          0 585912500 585912499
         2      5    00          0 585912500 585912499

From what I read, I understand that a mirrored pool cannot shrink. So since I'm not really familiar with all of this, I ask why cant I just create a new pool? Can this be done without loosing the data on c1t1d0s2?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Replace the tape backup drive

Please help me!!!. I am new to Unix and I have to replace the tape backup drive. Originally the system had an IBM tape drive (Rhomat) that is damged. I changed it and installed a dat drive HP 5000+. The hardware recognize the drive, the diagnostics if OK. But when I try to install the operating... (3 Replies)
Discussion started by: allaite2
3 Replies

2. Shell Programming and Scripting

Failed to replace string with "sed"

Hi folks, I have the following configuration file: tofu:/tmp # cat bitbandConfig.properties maestroIp=10.10.10.10 maestroPort=2020 adminPlayPath=<Streaming Agent IP>:2021/streamingGateway/GetPlayList ###This part should not be changed### adminPlayVODProtocol=http username=iptv... (7 Replies)
Discussion started by: nir_s
7 Replies

3. AIX

Replace a Failed Root Disk in AIX

My root disk is failed and how to replace the root disk in AIX. Can u give a detailed explanation in step wise. Pls give the answer taking different scenarios. Regards Praveen (1 Reply)
Discussion started by: chinnu_mulakala
1 Replies

4. UNIX for Dummies Questions & Answers

Replace Drive

Any help appreciated Sco Unix Ver 5.0+ Have 2 90 gig mirrored drives Can these be replaced with any similar drive? Can one just be replaced and will the mirror rebuild on it and then allow reboot on it ---then replace 2nd drive? Thanks pb (3 Replies)
Discussion started by: paul1730
3 Replies

5. OS X (Apple)

Failed Drive

I am trying to recover data off a drive that failed in my iMac. Apple returned the drive to me and I purchased a hard drive enclosure. I have been doing research on prices for data recovery services, way too expensive. I seen some links using Unix DD commands in the terminal none of which worked.... (6 Replies)
Discussion started by: KJ1906
6 Replies

6. Infrastructure Monitoring

zfs - migrate from pool to pool

Here are the details. cnjr-opennms>root$ zfs list NAME USED AVAIL REFER MOUNTPOINT openpool 20.6G 46.3G 35.5K /openpool openpool/ROOT 15.4G 46.3G 18K legacy openpool/ROOT/rds 15.4G 46.3G 15.3G / openpool/ROOT/rds/var 102M ... (3 Replies)
Discussion started by: pupp
3 Replies

7. Solaris

How to replace failed disk?

Dear all Please can any one explain me how to replace failed disk in Solaris 10. Please tell me the step by step procedure. (9 Replies)
Discussion started by: suneelieg
9 Replies

8. Solaris

Cannot remove and replace failed disk

-bash-3.00# zpool detach zonepool c1t1d0 cannot detach c1t1d0: only applicable to mirror and replacing vdevs -bash-3.00# zpool remove zonepool c1t1d0 cannot remove c1t1d0: only inactive hot spares, cache, top-level, or log devices can be removed -bash-3.00# zpool offline zonepool c1t1d0... (3 Replies)
Discussion started by: LittleLebowski
3 Replies

9. AIX

RAID 10 Failed Drive Swap

I am new to the AIX operating system and am seeking out some advice. We recently have had a drive go bad on our AIX server that is in a RAID 10 array. We have a replacement on the way. I was wondering what the correct steps are to swap out this drive. Does the server need to be powered off? Or can... (5 Replies)
Discussion started by: mpeter05
5 Replies

10. AIX

Stale PPs in AIX, failed disks.. how to replace?

I have a AIX 7.1 system that has 3 failed disks, 1 in rootvg and 2 in vg_usr1. Here is the output of lspv. # lspv hdisk0 00044d4dfbb11575 vg_usr1 active hdisk1 0000150179158027 vg_usr1 active hdisk2 ... (11 Replies)
Discussion started by: c3rb3rus
11 Replies
All times are GMT -4. The time now is 10:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy