Solaris 11 disk issue


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 11 disk issue
# 1  
Old 06-07-2013
Solaris 11 disk issue[solved]

I have 2 disks in my system.I recently added a zpool to the disk, but today I changed my mind and deleted the zpool ,
zpool destroy -f extra

The zpool is now deleted and I want to partition the disk, so I delete the only partition on the disk.

Now when I run format again,

Code:
format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c7d0 <SAMSUNG-S14JJ9DP72414-0001-149.05GB>
          /pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
       1. c8d1 <drive type unknown>
          /pci@0,0/pci-ide@1f,2/ide@1/cmdk@1,0

Specify disk (enter its number): 1



AVAILABLE DRIVE TYPES:
        0. other

My issue is I can see the drive but I cannot access it (pressing 1)to partition it,I get the message above.Can anyone help?

Last edited by cbtshare; 06-07-2013 at 07:14 PM..
# 2  
Old 06-07-2013
Did you try create zpool again?
Code:
# zpool create extra c8d1

It should write new label to disk and then you could destroy pool and modify label with format
# 3  
Old 06-07-2013
What platform is this?

What type of disk is it?

(depending on what type of disk it actually is, I would firstly "set all mode pages to default" using the format command. A disk drive is a highly programmable device and has a large number of on-board registers which define its behaviour. If these are left in a state of limbo by some operation, the drive might exhibit strange behaviour. Also, you should be able to write (or rewrite) a Sun label to the disk using format or even redefine its perceived geometry. Don't forget that you can invoke format with a -e switch (expert mode) which provides much more ammunition to tackle things. In expert mode make damned sure you select the right drive to work on otherwise you could alter working drives.)

Anyway, enough of all that. Post back answers to above questions.
# 4  
Old 06-07-2013
Quote:
@GP81

This worked fine, but the issue is I wanted to actually partition the disk then use one partition for NFS ,SMB etc. If I just create back another pool, I have access to the disk , but not able create partitions.
Quote:
@hicksd8

This system is SunOS SolarisServer 5.11 11.1 i86pc i386 i86pc

The disks are SATA disks
Thank you all for the replies.I still am back at square one, at how to partition the disk,when I tried the last time, it told me I needed to delete the partition, then create the needed partitions ,but disk became inaccessible when I deleted the only partition.
# 5  
Old 06-07-2013
I understand what you want, but now disk is inaccessible from format command. My advice is to create zpool again. It will write new label to disk. Then you must destroy zpool but label will still exist and disk will be accessible from format command.
Why did you delete partition before? Did you use fdisk subcommnd from format?
I usualy use format in different way.
First I check disk and then from menu select partition, then print and then you can see how disk is partitioned and by selecting number of partition you can change it.
It is x86, so you probably removed solaris main partition which is something different than solaris slice.
# 6  
Old 06-07-2013
@GP81

Yes, as I said in my previous post, I was able to create the pool again, and it is now online. I can destroy the pool again and then be able to access the disk, but still am stuck at how to partition the disk.

Yes, I used fdisk subcommand, this is the disk after I created a label:
Code:
 Total disk size is 9725 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1                 EFI               0  9725    9726    100

I want to know how can I create a couple partitions.

Last edited by Scott; 06-07-2013 at 06:46 PM.. Reason: Code tags
# 7  
Old 06-07-2013
Quote:
This worked fine, but the issue is I wanted to actually partition the disk then use one partition for NFS ,SMB etc. If I just create back another pool, I have access to the disk , but not able create partitions.
It seems you are confusing partitions and file systems here. You certainly can create new file systems in your existing ZFS pool and dedicate them to NFS, SMB or whatever you want.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Server disk issue need help

Hello all, Our Solaris 9? Sun Fire 480R backup server(in another city) is throwing disk errors such as these repeatedly. WARNING: vxvm:vxio: Subdisk rootdisk-02 block 24037056: Uncorrectable read error WARNING: vxvm:vxio: Subdisk rootdisk-02 block 7767072: Uncorrectable write error ... (18 Replies)
Discussion started by: RyanV
18 Replies

2. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies

3. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% / ... (0 Replies)
Discussion started by: fretagi
0 Replies

4. Solaris

Solaris 10 installation issue Error 25: Disk cannot be read - Solved

Hi all, I guess most of you have seen this error message while installing Solaris 10 on an x86 platform. I got the error message while installing from DVD ISO on my home VMWare ESXi server. It took me a long time to figure the exact issue and a subsequent solution. the solution is very... (1 Reply)
Discussion started by: admin_xor
1 Replies

5. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

6. AIX

Disk I/O Issue

We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks. OS--AIX 5.3 (3 Replies)
Discussion started by: ukatru
3 Replies

7. UNIX for Advanced & Expert Users

partition disk issue

hi guys, I've got a strange issue, may be one of you has experienced this. SunOS 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V440 everything is mirrored. My issue is that I have a umpty directory but seems to have data on. Let me show you # df -h /data Filesystem size used... (10 Replies)
Discussion started by: moustik
10 Replies

8. Solaris

Disk Mirror in Solaris 9 via Solaris Volume Manager

Hello, I am trying to do mirror in solaris 9. I have total 0-7 disks 4 5 6 7 0 1 2 3 Drive 0 and Drive 4 = Boot Drives Need to Mirror following drives. Drive 1 and Drive 5 = Need to mirror Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5. Then i... (3 Replies)
Discussion started by: deal732
3 Replies

9. AIX

disk issue

Hi, I have a AIX 4.3 box here with problems cause of a disk in below VG. volume group: workvg lspv hdisk4 000166789869ab2d workvg hdisk5 000166789869b96b workvg now hdisk4 disk has failed and cause the quorum was set, workvg became varied off. I have to replace the... (2 Replies)
Discussion started by: karthikosu
2 Replies

10. UNIX for Advanced & Expert Users

Solaris 8 disk/mirroring issue

Hello! I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of... (5 Replies)
Discussion started by: ghuber
5 Replies
Login or Register to Ask a Question