02-24-2012
Be vary careful when moving things in system partitions because you still need an intact system when you are up single-user.
Regarding /var/adm/sw . The directory /var/adm/sw/save is all the undo information for the patches applied on the system and can be huge. I believe that there is a formal process to "commit" the patches which also means that you cannot roll back those patches. I've never needed to do it.
Still concerned about your /var partition itself. Have you been able to reboot? If it is still like this after a reboot I wonder if there has been a faulty attempt to extend the filesystem.
Also you don't seem to have a /var/opt in your "du" list.
Btw. What did you delete?
Last edited by methyl; 02-24-2012 at 09:13 AM..
10 More Discussions You Might Find Interesting
1. HP-UX
Can anyone tell me how would I troubleshoot when /var becomes full with inodes? This is on HP11.11 system. Where used is 92%, ifree is 1891 iuse is 88%. Thanks. (3 Replies)
Discussion started by: catwomen
3 Replies
2. UNIX for Dummies Questions & Answers
Hi Everyone,
I think I've filled up one of the partitions on my drive. I suspect that one of the applications I've been running has been spitting out junk files to this partition - most of which can be deleted. The problem is that I have no idea how to go look at what's on that partition and... (2 Replies)
Discussion started by: Choppy
2 Replies
3. AIX
What to do if /var filesystem in Aix is completely full ? (2 Replies)
Discussion started by: kkhan
2 Replies
4. Filesystems, Disks and Memory
Hi
If You were the systems administrator of a mail server that services approximately 3,000 users. 2,000
users access their email via a POP-3 service, while the remaining 1,000 users access their email via a
Unix mail reader. Recently users have complained about speed of disk access, so a new 10... (1 Reply)
Discussion started by: semaphore
1 Replies
5. BSD
I am currently running DesktopBSD as a live-CD and need to have a large /var partition because it is currently too small. I have a USB stick which is BSD formatted, and would like to have the /var partition moved over to it. How can this be done? Could I for instance use a symlink? (1 Reply)
Discussion started by: figaro
1 Replies
6. AIX
Hi,
Is there a way to clear the temp files from /var/tmp?
Is root access required to delete the files?
Thanks,
Narayan (2 Replies)
Discussion started by: narayanv
2 Replies
7. AIX
hi, im new in aix administration.. months ago, I received mails, everytime a cron was executed. but now, I don't receive these mails.. and the /var/spool/squeue, gets full frequently. i'd like to know more information about this, what can i do?? sendmail is up, because, I executed ps -ef |grep... (5 Replies)
Discussion started by: fdeivis
5 Replies
8. Solaris
This is my first time working with ZFS on Solaris 10. I am trying to set up /var in a separate partition from /.
During the installation, I came across the ZFS settings where I selected disks 0 and 1 to be mirrored with ZFS. Next was the option to have /var and / on separate datasets.
Is... (3 Replies)
Discussion started by: 6L71
3 Replies
9. UNIX for Dummies Questions & Answers
In my company ,there is a mail server that services approximately 3,000 users. 2,000 users access their email via a POP-3 service, while the remaining 1,000 users access their email via a Unix mail reader. Recently users have complained about speed of disk access, so a new 10 gigabyte
disk has... (1 Reply)
Discussion started by: lemon_06
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have Solaris-10 (having multiple non global zones running on it). Its /var is getting full to 100% and I can see, there are files getting added to /var/audit. There are large in number, so even if I clearing them, it is filling /var. In past 24 hours, there are 53000 files are added. I am... (1 Reply)
Discussion started by: solaris_1977
1 Replies
LEARN ABOUT DEBIAN
kpartx
KPARTX(8) Linux Administrator's Manual KPARTX(8)
NAME
kpartx - Create device maps from partition tables
SYNOPSIS
kpartx [-a | -d | -l] [-v] wholedisk
DESCRIPTION
This tool, derived from util-linux' partx, reads partition tables on specified device and create device maps over partitions segments
detected. It is called from hotplug upon device maps creation and deletion.
OPTIONS
-a Add partition mappings
-r Readonly partition mappings
-r Read-only partition mappings
-d Delete partition mappings
-u Update partition mappings
-l List partition mappings that would be added -a
-p set device name-partition number delimiter
-f force creation of mappings; overrides 'no_partitions' feature
-g force GUID partition table (GPT)
-v Operate verbosely
-s Sync mode. Don't return until the partitions are created
EXAMPLE
To mount all the partitions in a raw disk image:
kpartx -av disk.img
This will output lines such as:
loop3p1 : 0 20964762 /dev/loop3 63
The loop3p1 is the name of a device file under /dev/mapper which you can use to access the partition, for example to fsck it:
fsck /dev/mapper/loop3p1
When you're done, you need to remove the devices:
kpartx -d disk.img
SEE ALSO
multipath(8) multipathd(8) hotplug(8)
AUTHORS
This man page was assembled By Patrick Caulfield for the Debian project. From documentation provided by the multipath author Christophe
Varoqui, <christophe.varoqui@opensvc.com> and others.
July 2006 KPARTX(8)