Diagnostic partition (/diagpart) and metadb

From: przemolicc@poczta.fm
Date: Tue Sep 25 2007 - 07:21:05 EDT


Hello,

We are trying to create metadb replicas on x2200 (the latest firmware
and Solaris 10 8/07 + patches installed). We have the following configuration:

bash-3.00# fdisk /dev/rdsk/c1d0p0
             Total disk size is 60800 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition Status Type Start End Length %
      ========= ====== ============ ===== === ====== ===
          1 Diagnostic 0 6 7 0
          2 Active Solaris2 7 60799 60793 100

SELECT ONE OF THE FOLLOWING:
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection: 6

bash-3.00# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c1d0 <DEFAULT cyl 60791 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@5/ide@0/cmdk@0,0
       1. c2d0 <DEFAULT cyl 60791 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@5/ide@1/cmdk@0,0
Specify disk (enter its number): 0
selecting c1d0
Controller working list found
[disk formatted, defect list found]
Warning: Current Disk has mounted partitions.
/dev/dsk/c1d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c1d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c1d0s6 is currently mounted on /lu. Please see umount(1M).

[...]
partition> p
Current partition table (original):
Total disk cylinders available: 60791 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
  0 root wm 4657 - 8481 29.30GB (3825/0/0) 61448625
  1 swap wu 3 - 767 5.86GB (765/0/0) 12289725
  2 backup wm 0 - 60790 465.68GB (60791/0/0) 976607415
  3 unassigned wm 0 0 (0/0/0) 0
  4 unassigned wm 0 0 (0/0/0) 0
  5 unassigned wm 8482 - 60790 400.71GB (52309/0/0) 840344085
  6 unassigned wm 832 - 4656 29.30GB (3825/0/0) 61448625
  7 unassigned wm 768 - 831 502.03MB (64/0/0) 1028160
  8 boot wu 0 - 0 7.84MB (1/0/0) 16065
  9 alternates wu 1 - 2 15.69MB (2/0/0) 32130

bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1d0s0 29G 4.4G 24G 16% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 10G 816K 10G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
fd 0K 0K 0K 0% /dev/fd
swap 10G 45M 10G 1% /tmp
swap 10G 20K 10G 1% /var/run
/dev/dsk/c1d0s6 29G 2.7G 26G 10% /lu
/dev/dsk/c1d0p1 55M 2K 55M 1% /diagpart
/usr/lib/libc/libc_hwcap2.so.1
                        29G 4.4G 24G 16% /lib/libc.so.1

Now:

bash-3.00# metadb -a -c 2 -f c1d0s7
metadb: flip: c1d0s7: overlaps with c1d0p1 which is mounted as '/diagpart'

Could you please advice how to solve the problem ?

przemol

-- 
http://przemol.blogspot.com/
----------------------------------------------------------------------
Pokaz innym kto tu rzadzi!
Kliknij >>> http://link.interia.pl/f1bbc
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:21 EDT