Unix Technical Forum

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:20 AM
Tom
 
Posts: n/a
Default Weird missing disk fsck boot problem

Hello,

I have a server which we use for NFS, SMB, and CVS. It is an E250
connected to an external A1000 RAID box. The setup has been VERY
reliable for the last 7 or so years. I have to say that this has been
en exceptionally stable platform.

The internal disks are mirrored for failover and the external RAID box
houses the cvs depot, nfs and smb shares.... I use soft partitions
for the filesystems (Solaris Volume Manager). I simply grow a soft
partition and the particular filesystem when I need to.

It seems to me that volume manager is referencing c2 while the RAID
array is now, for some reason, c3. Perhaps the battery change did
this? I didn't. If so it still doesn't explain why it manifested
AFTER the OS patches and not merely AFTER the controller battery
change or drive change...... That one has me scratching my head.


Background:

2 weeks ago I replaced the controller battery in the RAID array, as
well as an internal failed disk in the RAID array device. It uses one
disk as a hot spare, and when I replaced the faulty disk with a new
one it did what it does and all was/is well with that. (or so I
thought?)

This weekend I patched the machine with the latest 9_Recommended in
order to get it up to date and to get the DST patch. The patch bundle
overwrote my inetd.conf, but I think I fixed that okay and now my CVS
server and SWAT once again start up on boot.

The problem is that for every boot, the boot process is paused for
what the system says is a missing disk device. This is odd b/c it
wasn't happening prior to the 9_Recommended patch and once the machine
is up everything looks fine and all of the expected filesystems are
present and mounted. Nothing that it is searching for is on the
vfstab.

The /var/adm/messages file complains about this:

Mar 11 17:40:53 localhostname fsck: [ID 309067 daemon.error]
localhostname: /dev/rdsk/c2t10d0s6: No such device or address

????

.....and in the device.tab this is referenced but again I can't
remember why it would be there and all of the expected partitions are
there.

disk9:/dev/rdsk/c2t10d0s2:/dev/dsk/c2t10d0s2::desc="Disk Drive"
type="disk" part="true" removable="false" capacity="212381696"
dpartlist="dpart900,dpart906"

An observation which may or may not be pertinent, (I think it is) is
that the RAID array controller calls itself disk, c3t10d0s2, which
except for one number is very close to the c2t10d0s2 that the system
is complaining about. Perhaps it changed it's name when I replaced
the controller battery? What discourages me from that notion is that
if that were so then this boot behavior should have manifested 2 weeks
ago, not just after this weekend's patch install. ??

These are my disks in format:

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. c3t10d0 <Symbios-StorEDGEA1000-0301 cyl 65533 alt 2 hd 64
sec 169>
/pseudo/rdnexus@3/rdriver@a,0

As you can see, s6 is where I keep my important data:

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

========

metastat shows this:

# metastat |grep c2t10d0

Device: c2t10d0s6
c2t10d0s6 10816 No Yes
Device: c2t10d0s6
c2t10d0s6 10816 No Yes
c2t10d0 Yes id1,iver@w600a0b80000a5ed90000000f3d94158d


grepping c3 shows nothing........

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

So, could I ask for advice on how to eliminate this because every time
the machine reboots fsck pauses the bot process for operator
assistance, either enter the root passwd for maintenance or CRTL-D to
continue. So, if no one is present and the machine were rebooted, or
rebooted remotely, it wouldn't come up without operator assistance at
the console and this machine is not hooked to anything like a
networked console server device.

I figure that I have to change/update the volume manager to use c3
instead of c2, but I wanted to run that by some pros and perhaps its
not that easy. Right now all of my filesystems are there and I didn't
want to change such a thing willy nilly without checking.

I set all of this stuff up several years back and am a bit rusty, so
hence my question to the groups. Better to consult first than to do
it without realizing the ramifications and make a fatal error. ;-)




Thank You for taking the time,

Tom

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:20 AM
Darren Dunham
 
Posts: n/a
Default Re: Weird missing disk fsck boot problem

In comp.unix.solaris Tom <the.worlok@gmail.com> wrote:
> I have a server which we use for NFS, SMB, and CVS. It is an E250
> connected to an external A1000 RAID box. The setup has been VERY
> reliable for the last 7 or so years. I have to say that this has been
> en exceptionally stable platform.


> The internal disks are mirrored for failover and the external RAID box
> houses the cvs depot, nfs and smb shares.... I use soft partitions
> for the filesystems (Solaris Volume Manager). I simply grow a soft
> partition and the particular filesystem when I need to.


> It seems to me that volume manager is referencing c2 while the RAID
> array is now, for some reason, c3. Perhaps the battery change did
> this? I didn't. If so it still doesn't explain why it manifested
> AFTER the OS patches and not merely AFTER the controller battery
> change or drive change...... That one has me scratching my head.


I've seen that on A1000s in the past. I've even seen a difference
between the controller reported by 'df' and the controller reported by
'format'. That can be a bit worrying....

> 2 weeks ago I replaced the controller battery in the RAID array, as
> well as an internal failed disk in the RAID array device. It uses one
> disk as a hot spare, and when I replaced the faulty disk with a new
> one it did what it does and all was/is well with that. (or so I
> thought?)


Should have been

> This weekend I patched the machine with the latest 9_Recommended in
> order to get it up to date and to get the DST patch. The patch bundle
> overwrote my inetd.conf, but I think I fixed that okay and now my CVS
> server and SWAT once again start up on boot.


> The problem is that for every boot, the boot process is paused for
> what the system says is a missing disk device. This is odd b/c it
> wasn't happening prior to the 9_Recommended patch and once the machine
> is up everything looks fine and all of the expected filesystems are
> present and mounted. Nothing that it is searching for is on the
> vfstab.


> The /var/adm/messages file complains about this:


> Mar 11 17:40:53 localhostname fsck: [ID 309067 daemon.error]
> localhostname: /dev/rdsk/c2t10d0s6: No such device or address


> ????


Can you post the contents of /etc/vfstab?

> ....and in the device.tab this is referenced but again I can't
> remember why it would be there and all of the expected partitions are
> there.


> disk9:/dev/rdsk/c2t10d0s2:/dev/dsk/c2t10d0s2::desc="Disk Drive"
> type="disk" part="true" removable="false" capacity="212381696"
> dpartlist="dpart900,dpart906"


> An observation which may or may not be pertinent, (I think it is) is
> that the RAID array controller calls itself disk, c3t10d0s2, which
> except for one number is very close to the c2t10d0s2 that the system
> is complaining about. Perhaps it changed it's name when I replaced
> the controller battery? What discourages me from that notion is that
> if that were so then this boot behavior should have manifested 2 weeks
> ago, not just after this weekend's patch install. ??


I doubt the battery had anything to do with it.


> These are my disks in format:


> 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. c3t10d0 <Symbios-StorEDGEA1000-0301 cyl 65533 alt 2 hd 64
> sec 169>
> /pseudo/rdnexus@3/rdriver@a,0


> As you can see, s6 is where I keep my important data:


> 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


> ========


> metastat shows this:


> # metastat |grep c2t10d0


> Device: c2t10d0s6
> c2t10d0s6 10816 No Yes
> Device: c2t10d0s6
> c2t10d0s6 10816 No Yes
> c2t10d0 Yes id1,iver@w600a0b80000a5ed90000000f3d94158d



> grepping c3 shows nothing........


--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:20 AM
Tom
 
Posts: n/a
Default Re: Weird missing disk fsck boot problem

On Mar 12, 12:12 pm, Darren Dunham <ddun...@redwood.taos.com> wrote:


>
> Can you post the contents of /etc/vfstab?
>


#device device mount FS fsck
mount mount
#to mount to fsck point type pass at
boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1
yes -
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/md/dsk/d5 - - swap - no -
/dev/md/dsk/d2 /dev/md/rdsk/d2 / ufs 1 no -
/dev/md/dsk/d8 /dev/md/rdsk/d8 /usr ufs 1 no -
/dev/md/dsk/d11 /dev/md/rdsk/d11 /var ufs 1
no -
#/dev/md/dsk/d14 /dev/md/rdsk/d14 /home ufs
2 yes -
swap - /tmp tmpfs - yes -
/dev/md/dsk/d28 /dev/md/rdsk/d28 /export/qa/qa-aix2
ufs 1 yes logging
#/dev/md/dsk/d29 /dev/md/rdsk/d29 /mgrbuild
ufs 1 yes -
/dev/md/dsk/d26 /dev/md/rdsk/d26 /tools ufs 1
yes -
/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
#/dev/md/dsk/d27 /dev/md/rdsk/d27 /localcvs ufs 1 yes -


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

metastat:

---snip-----

d31: Soft Partition
Device: c2t10d0s6
State: Okay
Size: 327155712 blocks (156 GB)
Device Start Block Dbase Reloc
c2t10d0s6 10816 No Yes

Extent Start Block Block count
0 16788034 264241152
1 339749444 62914560

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
c0t10d0 Yes id1,sd@SSEAGATE_ST336704LSUN36G_3CD1LDW100002132DR 60
c0t9d0 Yes id1,sd@SSEAGATE_ST336704LSUN36G_3CD1LG0D00002132DP NZ
c0t8d0 Yes id1,sd@SSEAGATE_ST336704LSUN36G_3CD1LBTN00007129JX Z3
c0t0d0 Yes id1,sd@SSEAGATE_ST336704LSUN36G_3CD1K51900002133FL PV
c2t10d0 Yes id1,iver@w600a0b80000a5ed90000000f3d94158d


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

So yes, d31 and d30 are mounted in vfstab, and metastat reports them
as belonging to c2.... when in fact they are c3..... ...and it's a
mystery to me that everything still mounts okay and is up and
available???


So, should I just issue a meta command to volume manager to update
those virtual disks to point to c3.... instead of c2...??



Thanks,

Tom


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 10:20 AM
Darren Dunham
 
Posts: n/a
Default Re: Weird missing disk fsck boot problem

In comp.sys.sun.hardware Tom <the.worlok@gmail.com> wrote:
> On Mar 12, 12:12 pm, Darren Dunham <ddun...@redwood.taos.com> wrote:
>> Can you post the contents of /etc/vfstab?


> #device device mount FS fsck
> mount mount
> #to mount to fsck point type pass at
> boot options
> #
> #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1
> yes -
> fd - /dev/fd fd - no -
> /proc - /proc proc - no -
> /dev/md/dsk/d5 - - swap - no -
> /dev/md/dsk/d2 /dev/md/rdsk/d2 / ufs 1 no -
> /dev/md/dsk/d8 /dev/md/rdsk/d8 /usr ufs 1 no -
> /dev/md/dsk/d11 /dev/md/rdsk/d11 /var ufs 1
> no -
> #/dev/md/dsk/d14 /dev/md/rdsk/d14 /home ufs
> 2 yes -
> swap - /tmp tmpfs - yes -
> /dev/md/dsk/d28 /dev/md/rdsk/d28 /export/qa/qa-aix2
> ufs 1 yes logging
> #/dev/md/dsk/d29 /dev/md/rdsk/d29 /mgrbuild
> ufs 1 yes -
> /dev/md/dsk/d26 /dev/md/rdsk/d26 /tools ufs 1
> yes -
> /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
> #/dev/md/dsk/d27 /dev/md/rdsk/d27 /localcvs ufs 1 yes -


Hmm...

I'm actually more interested in where that 'fsck' failure is coming
from.

If you do a 'fsck -m' (should be harmless), I'd expect a quick message
about all those devices being mounted. Is that /dev/rdsk device listed
in that output?

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 10:20 AM
Tom
 
Posts: n/a
Default Re: Weird missing disk fsck boot problem

bash-2.05# fsck -m
** /dev/md/dsk/d2
ufs fsck: sanity check:/dev/md/rdsk/d2 already mounted read/write
** /dev/md/dsk/d8
ufs fsck: sanity check:/dev/md/rdsk/d8 already mounted read/write
** /dev/md/dsk/d11
ufs fsck: sanity check: /dev/md/rdsk/d11 already mounted
** /dev/md/dsk/d28
ufs fsck: sanity check: /dev/md/rdsk/d28 already mounted
** /dev/md/dsk/d26
ufs fsck: sanity check: /dev/md/rdsk/d26 already mounted
** /dev/md/dsk/d30
ufs fsck: sanity check: /dev/md/rdsk/d30 already mounted
** /dev/md/dsk/d31
ufs fsck: sanity check: /dev/md/rdsk/d31 already mounted





On Mar 12, 4:59 pm, Darren Dunham <ddun...@redwood.taos.com> wrote:


> Hmm...
>
> I'm actually more interested in where that 'fsck' failure is coming
> from.
>
> If you do a 'fsck -m' (should be harmless), I'd expect a quick message
> about all those devices being mounted. Is that /dev/rdsk device listed
> in that output?
>
> --
> Darren Dunham ddun...@taos.com
> Senior Technical Consultant TAOS http://www.taos.com/
> Got some Dr Pepper? San Francisco, CA bay area
> < This line left intentionally blank to confuse you. >



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 10:20 AM
Darren Dunham
 
Posts: n/a
Default Re: Weird missing disk fsck boot problem

In comp.unix.solaris Tom <the.worlok@gmail.com> wrote:
> bash-2.05# fsck -m
> ** /dev/md/dsk/d2
> ufs fsck: sanity check:/dev/md/rdsk/d2 already mounted read/write
> ** /dev/md/dsk/d8
> ufs fsck: sanity check:/dev/md/rdsk/d8 already mounted read/write
> ** /dev/md/dsk/d11
> ufs fsck: sanity check: /dev/md/rdsk/d11 already mounted
> ** /dev/md/dsk/d28
> ufs fsck: sanity check: /dev/md/rdsk/d28 already mounted
> ** /dev/md/dsk/d26
> ufs fsck: sanity check: /dev/md/rdsk/d26 already mounted
> ** /dev/md/dsk/d30
> ufs fsck: sanity check: /dev/md/rdsk/d30 already mounted
> ** /dev/md/dsk/d31
> ufs fsck: sanity check: /dev/md/rdsk/d31 already mounted


Okay, so it doesn't *appear* to be coming forom 'mountall'.

WSolaris 9, you say? What I might do is edit /etc/rc2.d/S01MOUNTFSYS
and put an "echo" statements around the /sbin/mountall -l line.

echo "About to mountall"
cd /; /sbin/mountall -l
echo "Mountall completes"

Now you can at least see if the odd fsck message is coming from there or
from elsewhere (and if not there, is it before or after).

(I suggested that you run 'fsck -m', but running '/sbin/mountall -l'
wouldn't be a bad idea either. As long as it gives the same
information (only md devices), then that's good.)

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
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 Jump


All times are GMT. The time now is 07:38 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711