Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

need to run a tar in a tape

Posted on 2013-11-08
2
Medium Priority
?
613 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 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

971 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