Sponsored Content
Operating Systems Solaris Missing ASM Disks in Solaris 11.3 LDOM Post 303025036 by gull04 on Tuesday 23rd of October 2018 09:12:01 AM
Old 10-23-2018
Hi Folks,

I have an update to this problem, it's not fixed yet - it's going to take a while to do that as the following explanation will show. So for any one who is interested I have identified the problem as incorrectly partitioned disks on the test server, the production and dr servers were built correctly with the disks sliced from cylinder 1 and Peasant hit the nail on the head - I hadn't checked that because the build document that I handed over did actually specify that the slice must start from Cylinder 1.

So on Production/DR we have;

Code:
Specify disk (enter its number)[11]: 12
selecting c0t600507680C8082780000000000000494d0
[disk formatted]
format> pa


PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> pr
Current partition table (original):
Total disk cylinders available: 38398 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       1 - 38397      299.98GB    (38397/0/0) 629096448
  1       swap    wu       0                0         (0/0/0)             0
  2     backup    wu       0 - 38397      299.98GB    (38398/0/0) 629112832
  3 unassigned    wm       0                0         (0/0/0)             0
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6        usr    wm       0                0         (0/0/0)             0
  7 unassigned    wm       0                0         (0/0/0)             0

partition> quit


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show disk ID
        scsi       - independent SCSI mode selects
        cache      - enable, disable or query SCSI disk cache
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> quit
root@fvssphsun01:~#

And on the Test Server we have;

Code:
Specify disk (enter its number)[18]: 20
selecting c0t60050768018086B6E80000000000045Bd0
[disk formatted]
Disk not labeled.  Label it now? no
format> pa


PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> pr
Current partition table (default):
Total disk cylinders available: 38398 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -    15      128.00MB    (16/0/0)       262144
  1       swap    wu      16 -    31      128.00MB    (16/0/0)       262144
  2     backup    wu       0 - 38397      299.98GB    (38398/0/0) 629112832
  3 unassigned    wm       0                0         (0/0/0)             0
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6        usr    wm      32 - 38397      299.73GB    (38366/0/0) 628588544
  7 unassigned    wm       0                0         (0/0/0)             0

partition> quit


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show disk ID
        scsi       - independent SCSI mode selects
        cache      - enable, disable or query SCSI disk cache
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> current
Current Disk = c0t60050768018086B6E80000000000045Bd0
<IBM-2145-0000 cyl 38398 alt 2 hd 64 sec 256>
/scsi_vhci/ssd@g60050768018086b6e80000000000045b

format> verify
Warning: Could not read primary label.

Warning: Check the current partitioning and 'label' the disk or use the
         'backup' command.

Backup label contents:

Volume name = <        >
ascii name  = <IBM-2145-0000 cyl 38398 alt 2 hd 64 sec 256>
pcyl        = 38400
ncyl        = 38398
acyl        =    2
nhead       =   64
nsect       =  256
Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       0 - 38397      299.98GB    (38398/0/0) 629112832
  1 unassigned    wu       0                0         (0/0/0)             0
  2     backup    wu       0 - 38397      299.98GB    (38398/0/0) 629112832
  3 unassigned    wm       0                0         (0/0/0)             0
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6 unassigned    wm       0                0         (0/0/0)             0
  7 unassigned    wm       0                0         (0/0/0)             0

format>

As you may be able to gather from the above, the disk on the test server has lost it's primary label - which has been over written by ASM. The original backup label is still there as displayed by the verify command output.

I attempted to duplicate these disks to a set of files in a zpool, where I was going to work on them - but attempting to dd the disks was a problem even using the raw devices.

Code:
root@fvskirsun01:~# zpool create asm_recovery c0t60050768018086B6E800000000000560d0s0
root@fvskirsun01:~# zpool list
NAME          SIZE  ALLOC  FREE  CAP  DEDUP  HEALTH  ALTROOT
asm_recovery  796G   153K  796G   0%  1.00x  ONLINE  -
rpool         556G   177G  379G  31%  1.00x  ONLINE  -
root@fvskirsun01:~# zfs list | grep asm
asm_recovery                     86.5K   784G    31K  /asm_recovery
root@fvskirsun01:~# dd if=/dev/rdsk/c0t60050768018086B6E80000000000045Ad0s0 of=/asm_recovery/asm_01 bs=1024k
dd: /dev/rdsk/c0t60050768018086B6E80000000000045Ad0s0: open: I/O error
root@fvskirsun01:~# dd if=/dev/rdsk/c0t60050768018086B6E80000000000045Ad0s2 of=/asm_recovery/asm_01 bs=1024k
dd: /dev/rdsk/c0t60050768018086B6E80000000000045Ad0s2: open: I/O error

I have spoken with a couple of people and the general consensus is that this situation is non recoverable, but I have a couple of other things to try - I'll be familiarising myself with some low level stuff that I haven't worked with for years. So if I do manage to resolve the problem I'll let you all know.

Many thanks Dennis and Peasant

Gull04
 

9 More Discussions You Might Find Interesting

1. Solaris

Installing Solaris into LDom using DVD

Hi, I have issues installing Solaris into a LDom using a Solaris10u5/08 DVD. I have been troubleshooting for the past 2 days and I still cannot get it up. Here is the logs: root@eld-app2# ldm add-vdsdev /cdrom/sol_10_508_sparc/s0 cdrom0@primary-vds0 root@eld-app2# ldm add-vdisk cdrom0... (4 Replies)
Discussion started by: bolasutra
4 Replies

2. Solaris

How to find missing disks on Sun x4150 without reboot?

Hi, Here is the issue: There are 4 disks on this Sun x4150 system under Solaris 10, but only 1 disk can be seen by the OS. I've tried commands disks and devfsadm but not working. It's an important production server, so 'reboot -r' is not a choice. # format < /dev/null Searching for... (6 Replies)
Discussion started by: aixlover
6 Replies

3. Solaris

Solaris 10 Installation - Disks missing, and Raid

Hey everyone. First, let me start by saying I'm primarily focused on linux boxes, and just happened to get pulled into building two T5220's. I'm not super educated on sun boxes. Both T5220's have 8 146GB 15k SAS drives. Inside the service processor, I can run SHOW /SYS/HDD{0-7} and they all come... (2 Replies)
Discussion started by: msarro
2 Replies

4. Solaris

ZFS LDOM problem on Solaris 10

Apologies if this is the wrong forum.. I have some LDOMs running on a Sparc server. I copied the disk0 file from one chassis over to another, stopped the ldom on the source system and started it on the 2nd one. All fine. Shut it down and flipped back. We then did a fair bit of work on the... (4 Replies)
Discussion started by: tommyq
4 Replies

5. Solaris

Disks missing from /devices folder. Not sure why.

Help Please! I picked up a V440 and it has 4 disks. I installed Solaris fine to disk 3, but I cannot see the other disks in Solaris. I have run probe-scsi-all from OBP and I see the other disks and they have names in devalias AFAIK. It's just in Solaris they do not appear. I have run... (6 Replies)
Discussion started by: greg1975
6 Replies

6. Solaris

Virtual disks are not showing up in LDom

I have an Oracle VM set up with 1 virtual disk. I am trying to add 2 new disks to it. I was able to successfully add 1 (it appears when I run "format" in the VM) but when I add the second and third disks they do not appear in my VM. Here are the commands I ran: ldm add-vdsdev... (3 Replies)
Discussion started by: unblockable
3 Replies

7. Solaris

Virtual Switch in Solaris LDOM

Hi, Our existing environment is having primary domain and 3 guest domains are running over it. See the attached image. Now we want to add a new primary virtual switch and move LDOM3 to be connected with new primary switch. So, I am not sure how to achieve this because. If I remove the... (7 Replies)
Discussion started by: praveensharma21
7 Replies

8. Solaris

Oracle ASM on Solaris 11.3

Hi Folks, I've just built a Solaris 11.3 server with a number of LDOM's, all good and well and not any serious issues so far. On our older Solaris 10 systems we ran Oracle 11g using ASM disks, these disks were the raw device meta disks and came in very nicely as "/dev/md/rdsk/dnn" all worked... (4 Replies)
Discussion started by: gull04
4 Replies

9. Solaris

Solaris LDOM IP conflict

I have a Sun T4-1 running Solaris 11.4 with a static IP 192.168.0.183. On this machine is a Solaris 10 LDOM with a static IP of 192.168.0.78. The other day I had to stop the LDOM to do a memory reconfigure. When I rebooted it I got an error that the IP 192.168.0.78 was already in use and so... (4 Replies)
Discussion started by: Michele31416
4 Replies
All times are GMT -4. The time now is 11:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy