Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

need to run a tar in a tape

Posted on 2013-11-08
2
581 Views
Last Modified: 2013-11-08
Hi i need to tar the follwoing

]# bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3     204800  178888   25912   87% /
/dev/vg00/lvol1     298928   42160  226872   16% /stand
/dev/vg00/lvol8    4710400 2150104 2541552   46% /var
/dev/vg00/lvol7    3170304 2465160  699712   78% /usr
/dev/vg01/u04      10485760 2403518 7829680   23% /u04
/dev/vg01/u02      25165824 13502408 11300726   54% /u02
/dev/vg01/u01      15728640 10964482 4615778   70% /u01
/dev/vg00/lvol6    3170304  960808 2195200   30% /tmp
/dev/vg00/lvol5    3670016 2378696 1281240   65% /opt
/dev/vg00/lvol4    1572864  386504 1177568   25% /home
/dev/vg01/d05      233861120 197427096 36149424   85% /d05
/dev/vg01/d04      204800000 168023104 36489616   82% /d04
/dev/vg01/d03      10485760  429148 9747454    4% /d03
/dev/vg01/d02      36700160 2476416 33962296    7% /d02
/dev/vg01/d01      15728640  615840 14640592    4% /d01


My device is /dev/rmt/c4t2d0BESTn

how to tar d05 and all the u's ( u01 etc) on that tape ?

i dont think i have compression

thanks.
0
Comment
Question by:c_hockland
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 39634675
tar cvf /dev/rmt/c4t2d0BESTn /d0S /u0*

If you have files under the root directory whose names start with "u0..." and if you don't want them archived better run

tar cvf /dev/rmt/c4t2d0BESTn /d0S /u01 /u02 /u04
0
 

Author Comment

by:c_hockland
ID: 39634706
thank u much !!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Fine Tune your automatic Updates for Ubuntu / Debian
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question