Unexpected df behavior


 
Thread Tools Search this Thread
Operating Systems Solaris Unexpected df behavior
# 1  
Old 03-10-2009
Unexpected df behavior

Hi,

I have Sun SPARC Enterprise T5140 with two 2,5" 15rpm 146GB SAS HDD. In friday there were a lot of errors with fs on them. After reconfiguring all seemed to be fine but today I get the following strange behavior of df -kh command and troubles with files, I written on first disk in friday. Here is the output:

Code:
[ root@myserver Tue Mar 10 12:09:52 2009 ]
/opt/IBM/informix # df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0       15G   7.0G   7.6G    49%    /
/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                    22G   1.5M    22G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/SUNW,T5140/lib/libc_psr/libc_psr_hwcap2.so.1
                        15G   7.0G   7.6G    49%    /platform/sun4v/lib/libc_psr
/platform/SUNW,T5140/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                        15G   7.0G   7.6G    49%    /platform/sun4v/lib/sparcv9/
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c1t0d0s4      9.9G   776M   9.0G     8%    /var
swap                    22G    32K    22G     1%    /tmp
swap                    22G    48K    22G     1%    /var/run
/dev/dsk/c1t0d0s5      4.9G   1.1G   3.8G    23%    /opt
/dev/dsk/c1t1d0s6      4.9G   1.0G   3.9G    21%    /tsmdata/secondary
/dev/dsk/c1t0d0s6      4.9G 16384E   7.9G 360324636036332% /tsmdata/primary
/dev/dsk/c1t1d0s3      4.9G   4.0G   896M    83%    /dbspaces/myserver/mirror
/dev/dsk/c1t0d0s3      4.9G 16384E   7.9G 360324636036332% /dbspaces/myserver/root

[ root@myserver Tue Mar 10 12:16:49 2009 ]
/ # ls -ei /dbspaces/myserver/root/vol01 /tsmdata/primary/vol01
         4 -rw-r--r--   1 tsmadm   tsmadm   1074790400 Mar  6 15:24:13 2009 /dbspaces/myserver/root/vol01
         4 -rw-r--r--   1 tsmadm   tsmadm   1074790400 Mar  6 15:24:13 2009 /tsmdata/primary/vol01

[ root@myserver Tue Mar 10 12:17:27 2009 ]
/ # mount | grep dsk
...
/tsmdata/primary on /dev/dsk/c1t0d0s6 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=800006 on Tue Mar 10 11:48:48 2009
...
/dbspaces/myserver/root on /dev/dsk/c1t0d0s3 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=800003 on Tue Mar 10 11:48:48 2009

[ root@myserver Tue Mar 10 12:27:50 2009 ]
/ # iostat -iE
sd0       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST914602SSUN146G Revision: 0603 Device Id: id1,sd@n5000c5000c7db607
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd1       Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: SEAGATE  Product: ST914602SSUN146G Revision: 0603 Device Id: id1,sd@n5000c5000c7db17f
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
sd2       Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
Vendor: TSSTcorp Product: CD/DVDW TS-T632A Revision: SR03 Device Id:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 3 Predictive Failure Analysis: 0

# 2  
Old 03-10-2009
whats your problem now dude?Smilie
# 3  
Old 03-10-2009
Quote:
Originally Posted by incredible
whats your problem now dude?Smilie
Actually, there is no problem now, but I don't understand why df shows incorrect data about third and sixth slices on first disk. I need these slices to be online this thursday and just want to be sure that they work correctly. Also I can't find files which I wrote on /dev/dsk/c1t0d0s3 in friday. At my surprise there are files I wrote on /dev/dsk/c1t0d0s6. Why does content on /dev/dsk/c1t0d0s6 is the same as on /dev/dsk/c1t0d0s3 and where are files which were on /dev/dsk/c1t0d0s3?..
# 4  
Old 03-10-2009
Quote:
/dev/dsk/c1t0d0s6 4.9G 16384E 7.9G 360324636036332% /tsmdata/primary
/dev/dsk/c1t0d0s3 4.9G 16384E 7.9G 360324636036332% /dbspaces/myserver/root
Time to fsck these guys ...
# 5  
Old 03-13-2009
I checked these partiotions with fsck. It corrected some errors, after what I could create file in both slices but after reboot the content in them was the same again, but at this time df showed right magnitudes. Now I want to analyze c1t0d0 with format but it can't be done on root disk. I suppose I can make it in two ways. First is boot from CDROM. I have some disks, shipped with server, but I'm afraid there is no LiveCD. The second in theory should work - create live upgrade boot environment on second disk, activate it and boot from it. Then unmount all slices of the first disk and run format to analyze all root disk surface. I have no experience with live upgrade and I want to know if the second way can be done practically

Last edited by Sapfeer; 03-13-2009 at 04:38 AM..
# 6  
Old 03-13-2009
Problem is solved - I've booted from CDROM and started format, so now system disk is being analysing. But there is still some misunderstanding for if it can be done by the second way. I suppose I should open new forum thread...
# 7  
Old 03-16-2009
You could have tried booting into single user mode, running mountall and then running fsck.

Are you sure that s3 and s6 are not overlapping?
Run format, select the appropriate disk, select partition and then print, the ctrl+d to exit.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

awk Behavior

Linux Release Uname details Data file Ive been at the command line for some time. Back as far as SCO and Interactive Unix. I have always used this construct without issues. I want to isolate the ip / field 1. As you can see .. the first line is "skipped". This works as... (6 Replies)
Discussion started by: sumguy
6 Replies

2. Shell Programming and Scripting

Unexpected Echo Behavior

Hello all, I have a basic issue that I can't seem to search for since I'm not sure how to describe the behavior. Could anyone kindly assist the novice? (Sample) File Data: bundle-ppp-1/1.78 bundle-ppp-1/2.80 bundle-ppp-1/1.79 bundle-ppp-1/2.81 bundle-ppp-1/1.80 bundle-ppp-1/2.82... (6 Replies)
Discussion started by: sjrupp
6 Replies

3. UNIX for Dummies Questions & Answers

Launchd-owned processes unexpected behavior

Ok, so I have been struggling with this for a few days and I think I need an explanation of a few things before I go any further. I'm not sure it's possible to do what I'm trying, so before I pull my hair out, here is what I'm doing: I have written a program in LiveCode that sits on our... (2 Replies)
Discussion started by: nextyoyoma
2 Replies

4. UNIX for Advanced & Expert Users

unexpected behavior bash, set -o vi, history -a, and HISTFILE

I am trying to get my history in sync in multiple bash sections and things aren't working the way I expect. Desired behavior, hitting esc-K in all bash sessions (same userid and machine) will use the same history. Observed behavior: Esc-k shows the history of the current session, rather than... (8 Replies)
Discussion started by: gg48gg
8 Replies

5. IP Networking

iptables DNAT of outgoing destination port, unexpected behavior

Not sure if this should be here or in the security section. I am developing software that dynamically manipulates netfilter/iptables rules (through system() calls of the command strings, I'm not trying to hack the netfilter code). Basically, UDP messages that are sent by an application on, say,... (0 Replies)
Discussion started by: cjh19460
0 Replies

6. UNIX for Dummies Questions & Answers

Weird behavior of Vi

Hi there, I am a bit puzzled by a weird behavior of Vi. I very simply would like to add increased numbers in some files. Since I have many thousands entries per file and many files, I would like to macro it in vi. To do this, I enter the first number ("0001") on the first line and then yank... (4 Replies)
Discussion started by: hypsis
4 Replies

7. AIX

LUN Behavior

Aix 6.1, working with a nim master and nim_altmaster both LPARS have access to the same data LUN, /nimdisk I do realize the risks of having 2 servers access the same LUN, however it serves the purpose of being able to restore mksysb's to/from our DR site if necessary, at least in theory ;) ... (3 Replies)
Discussion started by: mshilling
3 Replies

8. Programming

Behavior of pthreads

Hi All, I ve written a small program to get started off with pthreads. I somehow feel the program doesnt meet the purpose. Please find the code and the output below. Please find my question at the bottom. #include <pthread.h> #include <stdio.h> #include <stdlib.h> void *PrintThread1(void... (4 Replies)
Discussion started by: nhrraj
4 Replies

9. Programming

ls behavior

I put this here because it is a 'behavior' type question.. I seem to remember doing ls .* and getting all the .-files, like .profile .login etc. But ls .* doesn't do that, it lsts the contents of every .*-type subdirectory. Is it supposed to? I should think that a -R should be given to... (10 Replies)
Discussion started by: AtleRamsli
10 Replies
Login or Register to Ask a Question