I want to image solaris 8 with flarcreate like ghost in windows. the error come like errno 28, No space left?
this is error message
absapp@nepalabs1 # flarcreate -n "sol8utl" -S -R / -x /var/tmp /var/tmp/s8.utl.061222
Determining which filesystems will be included in the archive...
Creating the archive...
cpio: problem writing to tmpfile /var/tmp/cpioVhayw5, errno 28, No space left on device
1 errors
Archive creation complete.
I don't know how much space left in directory.
some site said unencapsulate root is the first in VxVM.
but system is in use, can't not unencapsulate, our server has to run
24/7, I don't want to touch vxvm right now.
total 8158
drwxrwxrwt 4 root sys 11776 Dec 28 11:17 .
drwxr-xr-x 33 root sys 512 Apr 7 2003 ..
drwxrwxrwx 2 nobody nobody 512 Dec 17 13:43 .flexlm
drwxrwxrwx 2 oracle dba 512 Dec 17 13:45 .oracle
-rw-r--r-- 1 root other 936 Feb 10 2003 111909-06.log.26518
-rw-rw-r-- 1 oracle dba 20603 Feb 9 2003 BEQ1451
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 DCE1451
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 DEC1451
-rw------- 1 oracle dba 0 Jul 19 2004 Ex2haqMy
-rw------- 1 oracle dba 0 Sep 17 2004 ExVYaaOt
-rw------- 1 absopr #absopr 24576 Jun 30 2006 ExlyaajG
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 ISPX1451
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 ITCP1451
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 LU621451
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 NMP1451
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 RAW1451
-rw------- 1 absapp absapp 8192 May 17 2003 Rx.saWE5
-rw-r--r-- 1 root other 0 Dec 22 13:00 S8.utl.061222
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 SPX1451
-rw-rw-r-- 1 oracle dba 32659 Feb 9 2003 TCP1451
-rw-rw-r-- 1 oracle dba 29492 Feb 9 2003 TCPS1451
-rw-rw-r-- 1 oracle dba 17638 Feb 9 2003 US1451
-rw-rw-r-- 1 oracle dba 0 Feb 9 2003 VI1451
prw------- 1 root root 0 Dec 17 13:43 _vmsa_cmd_
-rw-r--r-- 1 root other 72 Dec 18 2003 aaaCUaOM1
-rw-r--r-- 1 absapp absapp 1338 May 9 2005 aaaDeaaj3
-rw-r--r-- 1 absapp absapp 28 Nov 18 2003 aaaGaaG3g
-rw-r--r-- 1 absapp absapp 2769 Dec 18 2003 aaaK0aWhg
-rw-r--r-- 1 absapp absapp 458 Dec 18 2003 aaaLOa4OX
-rw-r--r-- 1 absapp absapp 28 Nov 18 2003 baaIaaG3g
-rw-r--r-- 1 absapp absapp 2769 Dec 18 2003 baaM0aWhg
-rw-r--r-- 1 absapp absapp 2769 Dec 18 2003 baaNOa4OX
-rw-r--r-- 1 nobody nobody 3052 Dec 25 07:43 license_log
-rw-r--r-- 1 nobody nobody 2619 Mar 25 2003 license_log.old.030325100215
-rw-r--r-- 1 nobody nobody 2619 Mar 25 2003 license_log.old.030325100444
-rw-r--r-- 1 nobody nobody 2867 Mar 25 2003 license_log.old.030325100735
-rw-r--r-- 1 nobody nobody 2579 Mar 25 2003 license_log.old.030325100913
-rw-r--r-- 1 nobody nobody 2512 Mar 25 2003 license_log.old.030325104955
-rw-r--r-- 1 nobody other 3943 Mar 25 2003 license_log.old.030325105658
-rw-r--r-- 1 nobody nobody 2415 Mar 25 2003 license_log.old.030325105927
-rw-r--r-- 1 nobody nobody 2867 Mar 25 2003 license_log.old.030325111102
-rw-r--r-- 1 nobody nobody 3203 Mar 25 2003 license_log.old.030325111828
-rw-r--r-- 1 nobody nobody 2414 Mar 25 2003 license_log.old.030326092952
-rw-r--r-- 1 nobody nobody 1893 Mar 26 2003 license_log.old.030327092306
-rw-r--r-- 1 nobody nobody 1893 M
You have a problem there, your root filesystem is full and since its a production server that needs to be up 24/7 you better clean it up.
Look in /var/adm for old log files that you might be able to remove. Check for any core dumps in /var/crash aswell. syslogs can also get big.
If you want to flare the root partition you can not use /tmp as it is only 7GB and you root partition is 10GB.
Use absdata5 or absdata6 as you have 51GB available there.
I just had a look at your first post again..
You were using /var/tmp which is on your root partition, I guess thats why your root partition is full.
If I was you I would cleanup /var/tmp ASAP and in future before trying something like this on a 24/7 production server make sure you know what it is you are doing..
I agree with the others. Root (/) is full and you must clean it up. Check /var/tmp and make sure you clear out old flarcreate files, unneeded temp files (it is a temporary directory; anything not reasonably current should be able to be deleted). Obvious additional choices are /var/adm and /var/log. Check your logs. Make sure they're being rolled (moved daily to something like syslog.0 or syslog.20061227) then make sure they're compressed (looking like syslog.0.gz or syslog.20061227.gz). If they are not being rolled and compressed, check your scripts to get that automatically taken care of. Also remove old log files. That'll depend on company policy. Generally 45 to 90 days is what's used. Next are home directories. Run a du -ks * | sort -n in /export/home or /home depending on your setup. That'll give you the largest directories at the bottom and you can address them for cleanup.
Another issue is your planning on flarcreate. In my location, we use flarcreate to create a bare-metal OS level backup, not a backup of the entire system. So we'll exclude all the oracle file systems for instance. In looking at your setup, you have about 230 GB of data on this system and you're trying to put it all into a filesystem that can have about 8 GB free at best. Regular backups need to be done on the production data and not by using flarcreate. An external tape drive for instance.
Another piece of advice. When posting to the forums, please enclose your output in a code tag (that's the # tag in the bar above your message). It takes the fixed font screen output you have and leaves it fixed font rather than proporational. For example, I whipped up a quick perl script to massage your df -k output:
I finished backup of my server only internal disk.
some question is why external disk has error message during backup?
and other message is "too large to archive in current mode" how to avoid this?
This is my log of flarcreate and flar info.
absapp@nepalabs1 # sh volumebackup.sh
WARNING: hash generation disabled when using tape (-t)
Determining which filesystems will be included in the archive...
Creating the archive...
cpio: cpio: absdata1/nccbs_ref.dbf: too large to archive in current mode
cpio: cpio: absdata2/nccbs_app.dbf: too large to archive in current mode
cpio: cpio: absdata2/nccbs_app6.dbf: too large to archive in current mode
cpio: cpio: absdata4/expdat.dmp: too large to archive in current mode
cpio: cpio: absdata6/vol072017.flar: too large to archive in current mode
cpio: cpio: absdata7/nccbs_app_temp.dbf: too large to archive in current mode
cpio: cpio: absindex1/nccbs_idx3.dbf: too large to archive in current mode
cpio: Error with lstat() of "oper1/absopr/cpm/ST_TFD/UTL_cef988_cefb3f_20070226_235004.TXT", errno 2, No such file or directory
cpio: Error with lstat() of "oper1/absopr/cpm/ST_TFD/UTL_cef5a0_cef793_20070226_221148.TXT", errno 2, No such file or directory
errno 2, No such file or directory
of "oper1/absopr/cpm/ST_TFD/UTL_cdf389_cdf57c_20070226_100108.TXT", errno 2, No such file or directory
cpio: cpio: oper1/temp/utlapp_0209.dmp: too large to archive in current mode
cpio: cpio: operdata1/nccbs/log/cpm/cpm_up_20631010_104709.log: too large to archive in current mode
cpio: cpio: operdata1/nccbs/log/cpm/cpm_up_20631011_124141.log: too large to archive in current mode
cpio: cpio: operdata2/orabackup/export/expdat.dmp: too large to archive in current mode
cpio: File size of "oracle/ora9i/920/network/log/listener.log" has increased by 183
cpio: cpio: oracle/ora9i/seo/nepal/20040209/utlapp_0209.dmp: too large to archive in current mode
cpio: cpio: oradata2/ORA9/undotbs01.dbf: too large to archive in current mode
155845519 blocks
199 error(s)
Archive creation complete