Sponsored Content
Operating Systems Solaris Df reporting double size of du after fsck & reboot Post 303005162 by lcoreyl on Saturday 14th of October 2017 11:08:20 AM
Old 10-14-2017
Fix:

Solved

I didn't see this in other threads, so my problem was someone copied a bunch of files into a folder that should just be used as a mounting point. Once mounted those files and folders are hidden to du, but df still sees it. Essentially, i did this:
Code:
# umount /dev/dsk/c0t1d0s4
#du -ak /usr/me | sort -nr | more
780000 /usr/me
400001  /usr/me/data
400000  /usr/me/data/hiddenstuff
#rm /usr/me/data/*
#mount /dev/dsk/c0t1d0s4 /usr/me/data
#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  380000   570000    40%    /usr/me
/dev/dsk/c0t1d0s4    1587331  618652  921060    41%    /usr/me/data

 

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
pcata(7D)							      Devices								 pcata(7D)

NAME
pcata - PCMCIA ATA card device driver SYNOPSIS
pcata@socket#:a -u pcata@socket#:a -u,raw DESCRIPTION
The PCMCIA ATA card device driver supports PCMCIA ATA disk and flash cards that follow the following standards: o PC card 2.01 compliance (MBR+fdisk table required for all platforms). o PC card ATA 2.01 compliance. o PC card services 2.1 compliance. The driver supports standard PCMCIA ATA cards that contain a Card Information Structure (CIS). For PCMCIA, nodes are created in /devices that include the socket number as one component of the device name referred to by the node. However, the names in /dev, /dev/dsk, and /dev/rdsk follow the current conventions for ATA devices, which do not encode the socket number in any part of the name. For example, you may have the following: +----------------+-----------------------------------+---------------------+ |Platform | /devices name | /dev/dsk name | +----------------+-----------------------------------+---------------------+ |x86 | /devices/isa/pcic@1,3e0 /disk@0:a | /dev/dsk/c1d0s0 | +----------------+-----------------------------------+---------------------+ |SPARC | /devices/iommu@f,e0000000 | /dev/dsk/c1d0s0 | | | /sbus@f,e0001000 /SUNW, pcm- | | | | cia@3,0 /disk@0:a | | +----------------+-----------------------------------+---------------------+ PRECONFIGURATION
If a PC Card ATA device is recognized, the pcata driver is automatically loaded, IRQs allocated, devices nodes created, and special files created (if they do not already exist). Known Problems and Limitations o You need to umount the file system before removing the disk. o The ufs file systems on removable media (PC Card ATA) should have one of the onerror={panic, lock, umount} mount options set. CONFIGURATION
Configuration topics include initial installation and configuration, identifying an unrecognized device, special files and hot-plugging. Initial Installation and Configuration 1. Install the Solaris software. 2. Boot the system. 3. Insert the PC card ATA device. Identifying an Unrecognized Device If you insert a PC card ATA device and it is not recognized (no special files created), use the prtconf command to identify the problem. 1. Run the prtconf -D command to see if your pcata card is recognized. (A recognized device will appear at the end of the prtconf output. For example: # prtconf -D . . . pcic, instance #0 (driver name: pcic) . . . disk, instance #0 2. If pcata does not appear in the prtconf output, there is a problem with the PC card adapter configuration or with the hardware. Check to see whether the problem is with the card or the adapter by trying to use the card on another machine and by seeing if it works on the same machine using DOS. Special Files For PC card devices, nodes are created in /devices that include the socket number as one component of a device name that the node refers to. However, the /prtc/dev names and the names in /dev/dsk and /dev/rdsk do follow the current convention for ATA devices, which do not encode the socket number in any part of the name. Hot-Plugging o If you want to remove the disk, you must unmount the file system. o Use the mkfs_pcfs(1M) command to create a pcfs file system: # mkfs -F pcfs /dev/rdsk/c#d#p0:d o To mount a pcfs file system, type: # mount -F pcfs /dev/dsk/c#d#p0:c /mnt o If you want to create a ufs file system, use the newfs command and type: # newfs /dev/rdsk/c#d#s# o To mount a ufs file system, type: # mount -F ufs /dev/dsk/c#d#s# /mnt o To create a Solaris partition, run the format command and go to the Partition menu. For more information, see the format(1M) man page. FILES
/kernel/drv/pcata pcata driver ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpsdpr | +-----------------------------+-----------------------------+ SEE ALSO
format(1M), mount(1M), newfs(1M), pcmcia(7D), attributes(5), pcfs(7FS) SunOS 5.11 2 Mar 2007 pcata(7D)
All times are GMT -4. The time now is 08:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy