SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:34 AM
worlok
 
Posts: n/a
Default A1000 and SVM weirdness bet you never saw this


I use an A1000 RAID 5 box, and it should only show up as disk6 - I
just noticed that it also seems to be showing up as disk 7 and I have
no idea why or how to fix that.


AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,4000/scsi@3/sd@0,0
1. c0t8d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,4000/scsi@3/sd@8,0
2. c0t9d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,4000/scsi@3/sd@9,0
3. c0t10d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,4000/scsi@3/sd@a,0
4. c0t11d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,4000/scsi@3/sd@b,0
5. c0t12d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,4000/scsi@3/sd@c,0
6. c2t10d0 <Symbios-StorEDGEA1000-0301 cyl 65533 alt 2 hd 64
sec 169>
/pci@1f,4000/scsi@4,1/sd@a,0 (my A1000 RAID box)
7. c3t10d0 <Symbios-StorEDGEA1000-0301 cyl 65533 alt 2 hd 64
sec 169>
/pseudo/rdnexus@3/rdriver@a,0 (shouldn't be here)


>From disk 6 partition table:


partition> p
Current partition table (original):
Total disk cylinders available: 65533 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 0 0
(0/0/0) 0
1 unassigned wm 0 0
(0/0/0) 0
2 backup wu 0 - 65532 337.98GB (65533/0/0)
708804928
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 - 65531 337.98GB (65532/0/0)
708794112
7 unassigned wm 65532 - 65532 5.28MB (1/0/0)
10816


"disk 7" seems to be a double of my RAID box, no idea how this
happened.

Current partition table (original):
Total disk cylinders available: 65533 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 0 0
(0/0/0) 0
1 unassigned wm 0 0
(0/0/0) 0
2 backup wu 0 - 65532 337.98GB (65533/0/0)
708804928
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 - 65531 337.98GB (65532/0/0)
708794112
7 unassigned wm 65532 - 65532 5.28MB (1/0/0)
10816


Parition 6 contains d30 (cvsdepot) and d31 (datasafe)

Currently I can mount /cvsdepot just fine but /datasafe fails the
fsck, same device and slice though since SVM uses the same device for
both soft partitions.


==============

# metastat d30
d30: Soft Partition
Device: c2t10d0s6
State: Okay
Size: 75497472 blocks (36 GB)
Device Start Block Dbase Reloc
c2t10d0s6 10816 No Yes

Extent Start Block Block count
0 10817 16777216
1 281029187 58720256

Device Relocation Information:
Device Reloc Device ID
c2t10d0 Yes id1,iver@w600a0b80000a5ed90000000f3d94158d



# metastat d31
d31: Soft Partition
Device: c2t10d0s6
State: Okay
Size: 411041792 blocks (196 GB)
Device Start Block Dbase Reloc
c2t10d0s6 10816 No Yes

Extent Start Block Block count
0 16788034 264241152
1 339749444 146800640

Device Relocation Information:
Device Reloc Device ID
c2t10d0 Yes id1,iver@w600a0b80000a5ed90000000f3d94158d


====================


# fsck -y -F ufs /dev/rdsk/c2t10d0s6

** /dev/rdsk/c2t10d0s6
BAD SUPERBLOCK AT BLOCK 16: MAGIC NUMBER WRONG

LOOK FOR ALTERNATE SUPERBLOCKS WITH MKFS? yes


LOOK FOR ALTERNATE SUPERBLOCKS WITH NEWFS? yes

SEARCH FOR ALTERNATE SUPERBLOCKS FAILED.

USE GENERIC SUPERBLOCK FROM MKFS? yes

CALCULATED GENERIC SUPERBLOCK WITH MKFS
If filesystem was created with manually-specified geometry, using
auto-discovered superblock may result in irrecoverable damage to
filesystem and user data.

CANCEL FILESYSTEM CHECK? yes

Please verify that the indicated block contains a proper
superblock for the filesystem (see fsdb(1M)).

FSCK was running in YES mode. If you wish to run in that mode using
the alternate superblock, run `fsck -y -o b=708776912 /dev/rdsk/
c2t10d0s6'.

=========================

from vfstab:

/dev/md/dsk/d30 /dev/md/rdsk/d30 /cvsdepot ufs 1 yes logging
/dev/md/dsk/d31 /dev/md/rdsk/d31 /datasafe ufs 1 yes logging



===========================

Can mount /cvsdepot aka d30

# mount /cvsdepot
# ls /cvsdepot
lost+found matt MS02-044 README Repository tmp

===================

but not /datasafe.........

# mount /datasafe
mount: I/O error
mount: cannot mount /dev/md/dsk/d31


=====================


any of this make any sense??

======================

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum