The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mount points are already mounted biju.mp UNIX for Dummies Questions & Answers 1 07-18-2008 10:57 AM
Cannot unmount mount points?? genzbeat HP-UX 1 02-01-2008 05:11 AM
NFS Mount Points davidra UNIX for Dummies Questions & Answers 1 11-28-2007 04:49 PM
pwd Command and NIS mount points agreenwo UNIX for Dummies Questions & Answers 1 11-18-2002 01:04 PM
mount points manderson19 UNIX for Advanced & Expert Users 3 04-29-2002 03:11 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-30-2005
legato legato is offline
Registered User
  
 

Join Date: Nov 2004
Location: singapore
Posts: 40
Question tar using mount points

hi

i tried to tar a directory in my server but it show ensufficient space.
therefore i tried to save it to a mount point using
tar /mountpoint/newfilename file2btar
but it gives me permission denied.
i am using the root account to do this.
is it possible to tar files and put it to mounted directories?
or is the command correct?
  #2 (permalink)  
Old 03-30-2005
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
you have to type:
tar cfv /newdir/tarball /dir2backup/.

tar means tape archiver so if you don't use your tapedrive (eg:/dev/rmt/0) you have to specify another directory with the option -f. -c is create and -v is verbose....

gP
  #3 (permalink)  
Old 03-30-2005
legato legato is offline
Registered User
  
 

Join Date: Nov 2004
Location: singapore
Posts: 40
hi

i tried this command

"tar cvf /mountpoint/newfilename.tar file2betar"
but it return me this msg
tar: /mountpoint/newfilesname.tar: Permission denied

i tried to tar the files to a mountpoint in another server because there is insufficient space in my server. but it prompted me this error.
any way to fix it?
  #4 (permalink)  
Old 03-30-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
try touching a file in the mounted directory to confirm whether you have write access to it as root user ... if not able, the NFS-mounted directory you are trying to write to has exported the directory without remote root access by default ...

see "man share" and "man -s 1M share_nfs"
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0