Solved

need to run a tar in a tape

Posted on 2013-11-08
2
570 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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…
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…
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now