LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-28-2013, 03:48 PM   #1
prathamesh7478
LQ Newbie
 
Registered: Feb 2013
Location: Pune
Distribution: Unix,Solaris,Ubuntu.
Posts: 25

Rep: Reputation: Disabled
Unhappy /var/adm/sa does compressing sadd files


Hello Guys ,

I have compressed a file in /var/adm/sa

-rw-r--r-- 1 sys sys 1089777 Feb 5 23:55 sa05.Z
-rw-r--r-- 1 sys sys 1089931 Feb 6 23:55 sa06.Z
-rw-r--r-- 1 sys sys 2827152 Feb 7 23:55 sa07
-rw-r--r-- 1 sys sys 2827152 Feb 8 23:55 sa08
-rw-r--r-- 1 sys sys 2823312 Feb 9 23:55 sa09
-rw-r--r-- 1 sys sys 2824992 Feb 10 23:55 sa10

for reducing disk space in /var ,I compressed the above 2 files will it cause any problem and i can see 22 files.
Files from 05 February 2013 - 27 February 2013.

Can anybody help on this how it works and what are its main causes.
 
Old 02-28-2013, 04:03 PM   #2
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 3,039
Blog Entries: 4

Rep: Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734Reputation: 734
The causes are being investigated in your other 2 threads.

http://www.linuxquestions.org/questi...ce-4175452117/
http://www.linuxquestions.org/questi...ad-4175452115/
 
Old 02-28-2013, 07:53 PM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
No, it will not cause any problem. It's a very common practice to archive (by creating tar and then zip) to reduce the file system size.

Code:
~$ tar -cvf archivename.tar file1 file2 file3...
~$ gzip archivename.tar
OR
~$ tar -zcvf archivename.tar file1 file2 file3...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not updating /var/adm/messages rajaniyer123 Solaris / OpenSolaris 3 10-15-2008 01:56 PM
Messages file in /var/adm rust8y Solaris / OpenSolaris 4 10-26-2006 01:46 AM
/var/adm rust8y Solaris / OpenSolaris 2 10-16-2006 10:12 AM
Moving /var/adm and /var/lib - why does it hurt? J_Szucs Linux - General 1 09-15-2004 06:46 PM
/var/adm/utmpx hacked?!? Mike_the_Man Solaris / OpenSolaris 1 06-11-2004 07:25 AM


All times are GMT -5. The time now is 03:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration