Sponsored Content
Operating Systems Solaris Df reporting double size of du after fsck & reboot Post 303004732 by lcoreyl on Saturday 7th of October 2017 05:13:06 PM
Old 10-07-2017
Df reporting double size of du after fsck & reboot

Solaris 8
running on a Sparcstation 5 (Aurora) with 170MHz processor and 256MB ram

This is AFTER doing fsck and reboot.

820030k vs 385252k

All other files in /usr/asm not in /usr/asm/sys or /usr/asm/data amount to 43k. The /usr/asm/lost+found is 8k. somehow df and other applications flagging for disk full are seeing an extra 400000k, where is this?

this is run as superuser, so all hidden files should be shown right?

Code:
# uptime
 12:36pm  up 5 min(s),  1 user,  load average: 0.09, 0.17, 0.09
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t1d0s0      91813   19880   62752    25%    /
/dev/dsk/c0t1d0s6     752553  377132  315217    55%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
/dev/dsk/c0t1d0s3     245943   35200  186149    16%    /var
swap                  548972       8  548964     1%    /var/run
swap                  548972       8  548964     1%    /tmp
/dev/dsk/c0t1d0s7       1163       9    1038     1%    /scratch
/dev/dsk/c0t1d0s5     963333  820030   85504    91%    /usr/me
/dev/dsk/c0t1d0s4    1587331  618652  921060    41%    /usr/me/data
# du -ak /usr/me | sort -nr | more
1003950 /usr/me
618652  /usr/me/data
606344  /usr/me/data/user_data
485577  /usr/me/data/user_data/files
385252  /usr/me/sys
271662  /usr/me/data/user_data/files/WORK
213143  /usr/me/data/user_data/files/test
166175  /usr/me/sys/bin
141298  /usr/me/sys/bin/sun
113857  /usr/me/sys/lib
113855  /usr/me/sys/lib/sun
64060   /usr/me/data/user_data/r_database
63152   /usr/me/data/user_data/r_database/r_database
58453   /usr/me/data/user_data/files/test/359
47742   /usr/me/data/user_data/files/WORK/new
44413   /usr/me/data/user_data/batch_reports
36131   /usr/me/data/user_data/files/WORK/354
32758   /usr/me/data/user_data/batch_reports/WORK
28850   /usr/me/data/user_data/files/WORK/359
27955   /usr/me/data/user_data/files/test/358
25650   /usr/me/data/user_data/files/WORK/358
24876   /usr/me/sys/bin/vw
23282   /usr/me/data/user_data/files/WORK/355A-Z
21938   /usr/me/data/user_data/files/test/355-7
19114   /usr/me/data/user_data/files/test/353-4
18915   /usr/me/data/user_data/files/test/RD75X
17261   /usr/me/sys/FT
16935   /usr/me/sys/FT/tls

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Fsck & Shell

I have several questions here, would like to confirm with. First why in Linux everytime let say i boot up around nearly to a month i got a message during the Services Loading such as "FSCK havent run for 29 days performing fsck ". Is there to disable it? Why beacause i want to run it mannualy,... (2 Replies)
Discussion started by: ###1tomato
2 Replies

2. UNIX for Dummies Questions & Answers

Mandrake & size

Hi all, Thanks to Merlin & Djtrippin for comments in another thread. Does anyone know of any issues with harddrive size and Mandrake 9.0? I have installed Mandrake (like a dream) on a 10gb drive but it refuses to go beyond the partition check on my 80gb unit. The 80 is new and I have... (5 Replies)
Discussion started by: onestepto
5 Replies

3. UNIX for Dummies Questions & Answers

bad trap & continuous reboot

I have a system that upon boot, will declare a bad trap and reboot, whereupon it encounters the same bad trap and reboots in an endless cycle until I stop it. I can get to the ok prompt. An attempt to boot in single user mode left the box completely hung and required a power cycle to re-establish... (3 Replies)
Discussion started by: forbin24
3 Replies

4. UNIX for Dummies Questions & Answers

identifying duplicates line & reporting their line number

I need to find to find duplicate lines in a document and then print the line numbers of the duplicates The files contain multiple lines with about 100 numbers on each line I need something that will output the line numbers where duplicates were found ie 1=5=7, 2=34=76 Any suggestions would be... (5 Replies)
Discussion started by: stresslog
5 Replies

5. AIX

Is fsck executed during reboot for AIX?

Dear Gurus, I would like to know if fsck is executed automatically during reboot for AIX? Is there any logs which I can refer to? or any documentation reference for this? Thank You. (2 Replies)
Discussion started by: cteoh88
2 Replies

6. Red Hat

Kernel panic after hard reboot and fsck

Could you please help with problem with megaraid controller and Dell PowerEdge 2850, all that I can see on thi screenshot: All drives successfuly passed verifing from LSI controllers (Ctrl+A at startup), also I tried to boot from rescue llive cd and mount all the morrored drives and check... (22 Replies)
Discussion started by: nikkadim
22 Replies

7. Solaris

X2200 in reboot loop & mounting ZFS drive on other boxes

So I was patching a Solaris 10 U08 X86 X2200 box in preparation for an Oracle upgrade. Rebooted the box because the patches failed and the box will not boot successfully. I need to back up the zones on the 2 drives before going further. I pulled the drives and attempted to mount them on my Ubuntu... (0 Replies)
Discussion started by: LittleLebowski
0 Replies

8. Solaris

unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0)

What can I fix this issue? I have ran below commands but everything is same.:confused: WARNING: Last shutdown is later than time on time-of-day chip: check date. The / file system (/dev/rdsk/c1t0d0s0) is being checked WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies

9. UNIX for Dummies Questions & Answers

Ls directory size reporting byte size instead of file count

I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms. Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
reboot(8)						      System Manager's Manual							 reboot(8)

NAME
reboot - Restarts the machine SYNOPSIS
/usr/sbin/reboot [-dlnq] DESCRIPTION
When the system is running and multiple users are logged in, use the shutdown -r command to perform a reboot operation. If no users are logged in, use the reboot command. The reboot command normally stops all running processes, syncs the disks, logs the reboot, and writes a shutdown entry in the login accounting file, /var/adm/wtmp. The reboot command uses the sync call to synchronize the disks, and to perform other shutdown activities such as resynchronizing the hard- ware time-of-day clock. After these activities, the system reboots. By default, the system starts and the file systems are automatically checked. If the start-up activities are successful, the system comes up in the default run-level. You must have root privileges to use this command. Using the -n flag can result in file system damage. FLAGS
Generates a crash dump of the system before halting it. Can be used with any of the other flags. Does not log the reboot using syslog Does not sync the disks or log the reboot using syslog Performs a quick reboot without first shutting down running processes; does not log the reboot using syslog EXAMPLES
To enable the default reboot action, enter: reboot This command causes the system to stop all running processes, sync the disks, log the shutdown, and perform other routine shutdown and reboot activities. To shut down the system without logging the reboot, enter: reboot -l This command shuts down the system and performs all shutdown and reboot activities, except logging the shutdown. To reboot the system abruptly, enter: reboot -q This command reboots the system abruptly without shutting down running processes. FILES
Specifies the command path Specifies the login accounting file Specifies the path of the syslog daemon RELATED INFORMATION
Commands: fsck(8), halt(8), init(8), savecore(8) shutdown(8), syslogd(8) Functions: reboot(2), sync(2), syslog(3) delim off reboot(8)
All times are GMT -4. The time now is 11:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy