/var filesystem recovery from other machine


 
Thread Tools Search this Thread
Operating Systems Solaris /var filesystem recovery from other machine
# 1  
Old 08-03-2007
/var filesystem recovery from other machine

Hi Folks,

I'm wordering if I can ufsdump the /var fs from a server1 and create a new /var fs in Server2, that is because some damage happened in the /var fs and we don't have backup of it, I've tried fsck and no sucess at all..

Any ideia how I can recovery that /var fs ?

Thanks,

Fernando.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to increase the /var (UFS) filesystem and root disk under veritas control?

I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated # df -k /var Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/var 13241195 12475897 674524 96% /var # fstyp /dev/vx/dsk/var ufs # pkginfo... (1 Reply)
Discussion started by: amity
1 Replies

2. Solaris

metadetach error on /var filesystem

Hi Everyone I am trying to detach sub mirror for /var/ filesystem not sure how to detach this sub mirror. someone please guide, I am removing all devices from using SVM. metastat -p bash-3.00#metastat -p d3 -m d13 1 d13 3 1 c1t2d0s3 \ 1 c1t2d0s5 \ 1 c1t3d0s3... (6 Replies)
Discussion started by: bobby320
6 Replies

3. Solaris

Have mounted a filesystem in /var and now cannot log in

hi, i might not be posting my question in the right place because i don't know where to post questions my question is like this i created a partition named 'var' in the SOLARIS os .,and then i knowingly mounted it on /var ..now after doing this am not able to login to my... (4 Replies)
Discussion started by: shekhar_4_u
4 Replies

4. Solaris

Can /usr and /var be copied to another machine?

Hi May I know whether I can a restore a backup of the following files and folders from one machine Sunfire V880 to another Sunfire V880 all running the same Solaris 9 without any problems to the 2nd machine?: 1. /usr 2. /var 3. /etc/shadow 4. /etc/group 5. /etc/passwd ... (5 Replies)
Discussion started by: rahmantanko
5 Replies

5. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

6. UNIX for Dummies Questions & Answers

Reduce /var filesystem

hi guys I need to create a temporary Filesystem and the only way to do it is to reduce /var and create a new filesystem 3GB size df -h .... ... /dev/mapper/VolGroup00-var 9.7G 1.5G 7.8G 16% /var my question is according to google search I need to umount the... (5 Replies)
Discussion started by: karlochacon
5 Replies

7. AIX

/var filesystem is full

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

8. UNIX for Advanced & Expert Users

Filesystem mystery: disks are not busy on one machine, very busy on a similar box

Hi, We have a filesystem mystery on our hands. Given: 2 machines, A and Aa. Machine Aa is the problem machine. Machine A is running Ubuntu, kernel 2.6.22.9 #1 SMP Wed Feb 20 08:46:16 CST 2008 x86_64 GNU/Linux. Machine Aa is running RHEL5.3, kernel 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38... (2 Replies)
Discussion started by: mschwage
2 Replies

9. UNIX for Advanced & Expert Users

diff command filling /var filesystem space

Hi, I am using diff command to check difference between two files.Both files are very big and when i execute this command /var temp space is filled up almost 99%. Can any one please tell me is there any way i can specify directory name which has more space so that diff can use that dir for... (2 Replies)
Discussion started by: ukatru
2 Replies

10. Shell Programming and Scripting

Need a script to tar all file systems on the machine into one filesystem.

Hi I am very poor at scripting.:o I need to develop a script that should tar up all the filesystems on the machine on to a single filesystem called /tarfilesystem. Any suggestions ... Thank You very much (1 Reply)
Discussion started by: urrahman_zia
1 Replies
Login or Register to Ask a Question
xfs_estimate(8) 					      System Manager's Manual						   xfs_estimate(8)

NAME
xfs_estimate - estimate the space that an XFS filesystem will take SYNOPSIS
xfs_estimate [ -h ] [ -b blocksize ] [ -i logsize ] [ -e logsize ] [ -v ] directory ... xfs_estimate -V DESCRIPTION
For each directory argument, xfs_estimate estimates the space that directory would take if it were copied to an XFS filesystem. xfs_esti- mate does not cross mount points. The following definitions are used: KB = *1024 MB = *1024*1024 GB = *1024*1024*1024 The xfs_estimate options are: -b blocksize Use blocksize instead of the default blocksize of 4096 bytes. The modifier k can be used after the number to indicate multiplica- tion by 1024. For example, xfs_estimate -b 64k / requests an estimate of the space required by the directory / on an XFS filesystem using a blocksize of 64K (65536) bytes. -v Display more information, formatted. -h Display usage message. -i, -e logsize Use logsize instead of the default log size of 1000 blocks. -i refers to an internal log, while -e refers to an external log. The modifiers k or m can be used after the number to indicate multiplication by 1024 or 1048576, respectively. For example, xfs_estimate -i 1m / requests an estimate of the space required by the directory / on an XFS filesystem using an internal log of 1 megabyte. -V Print the version number and exits. EXAMPLES
% xfs_estimate -e 10m /var/tmp /var/tmp will take about 4.2 megabytes with the external log using 2560 blocks or about 10.0 megabytes % xfs_estimate -v -e 10m /var/tmp directory bsize blocks megabytes logsize /var/tmp 4096 792 4.0MB 10485760 % xfs_estimate -v /var/tmp directory bsize blocks megabytes logsize /var/tmp 4096 3352 14.0MB 10485760 % xfs_estimate /var/tmp /var/tmp will take about 14.0 megabytes xfs_estimate(8)