Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-25-2006, 07:59 PM
|
#16
|
Moderator
Registered: Aug 2002
Posts: 26,640
|
Just in case you had not figured it out yet a tape drive can not be mounted. It is used just like a sequential file.
Have you found a suitable backup application yet?
The correct syntax is
modprobe st buffer_kbs=128 (not buffers_kbs) (Cardy had a typo in the second post)
Last edited by michaelk; 01-25-2006 at 08:21 PM.
|
|
|
01-25-2006, 08:42 PM
|
#17
|
Member
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128
Original Poster
Rep:
|
That's what I needed to know. Thanks.
After adding the modprobe st line to the rc.modules file and rebooting, how would I refer to the tape drive in a tar command? For instance, how would I write the entire /home directory to the tape?
|
|
|
01-25-2006, 08:51 PM
|
#18
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
Going from memory, it would be:
tar cvf /dev/st0 /home
To restore, you would do:
tar xvf /dev/st0
Pretty straight forward, really.
Other than that, there are other commands to erase the tape, rewind it, and eject it. Probably want to put everything into a script.
|
|
|
01-25-2006, 09:27 PM
|
#20
|
Member
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128
Original Poster
Rep:
|
Quote:
Originally Posted by MS3FGX
Going from memory, it would be:
tar cvf /dev/st0 /home
To restore, you would do:
tar xvf /dev/st0
Pretty straight forward, really.
Other than that, there are other commands to erase the tape, rewind it, and eject it. Probably want to put everything into a script.
|
Great!
Where would I find a listing of these commands to use for a tape?
|
|
|
01-26-2006, 02:03 PM
|
#22
|
Member
Registered: Apr 2005
Location: Warrior, AL
Distribution: Slackware 10.1, Fedora Core 4
Posts: 128
Original Poster
Rep:
|
It's correctly setting the buffer now, but I'm getting two errors on boot after showing that the modprobe st command worked
Code:
st: Can't allocate new tape buffer (nbr 0).
st: Unable to allocate new static buffer.
Any ideas?
|
|
|
02-24-2006, 06:05 AM
|
#23
|
LQ Newbie
Registered: Feb 2006
Posts: 1
Rep:
|
Hi, i am a newbie,i want to know what command show when tape is full, and the capacity of the tape, the capacity free of the tape, so can u help?
|
|
|
All times are GMT -5. The time now is 05:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|