Re: How Do I Back Up a Smartstor?

2008-07-15 Thread Dustin J. Mitchell
Thanks, Jon -- somehow I read "back up TO this beast", which is an
entirely different issue :)

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: How Do I Back Up a Smartstor?

2008-07-15 Thread Jon LaBadie
On Tue, Jul 15, 2008 at 11:15:59AM -0600, Steven Backus wrote:
> I'm thinking of purchasing this:
> 
> Description:  SMARTSTOR NS4300N 4BAY NAS SATA RAID5 SOHO/SMB
> 
> The NS4300N is the ideal 4-Drive RAID 5 "Bring Your Own Drives" NAS
> Enclosure for Home, SOHO and Small Business applications. Feature
> Set includes one of the industry's most mature RAID Engines, SATA
> 3G, NCQ, Jumbo Frames, User Quota, Backup, Snapshot, HotSwap for
> failed drive replacement, Embedded Management Application and
> UPNP/DLNA Certification (NS4300N functions as Digital Media
> Server).
> 
> And am wondering how one would back up this beast with amanda?
> 

You could mount each of the NAS file systems on one or more suitable
client(s).  It could then be backed up just like any other indirect
client.  As an example, for a while I had HP-UX, Tru-64, and Win2K
boxes whose file systems/partitons could be NFS exported (even the
Win2K box had an NFS server).  I didn't want to bother getting amanda
to run on each, so I backed up their NFS mount points.

jl
-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 12027 Creekbend Drive  (703) 787-0884
 Reston, VA  20194  (703) 787-0922 (fax)


Re: tar vs. dump for / backup?

2008-07-15 Thread [EMAIL PROTECTED]
On Tue, 2008-07-15 at 15:43 -0400, Dustin J. Mitchell wrote:
> On Tue, Jul 15, 2008 at 2:23 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > What do I do about it?
> > What does it mean?
> > Is this a manifestation of the reiserfs-dump incompatibility?
> 
> Perhaps -- but you said /boot was reiserfs too, and was backed up
> fine?  Are you sure both partitions are reiserfs?
You are right.  /boot is ext3.  Don't know why I did that, but it does
agree with the results. 


CONFIDENTIALITY NOTICE:  This electronic mail message and any attachment hereto 
may contain confidential information of Meyer Sound Laboratories, Incorporated 
and is intended for the personal and confidential use of the designated 
recipient(s) only.  If you are not the intended recipient (or responsible for 
delivering the message to the intended recipient), you have received this 
message in error and any review, distribution, or copying of this message or 
any attachment hereto is prohibited.  If you have received this message in 
error, please promptly notify the sender and permanently delete it from your 
computer.


Re: tar vs. dump for / backup?

2008-07-15 Thread Jean-Louis Martineau

[EMAIL PROTECTED] wrote:

sendsize[7952]: time 0.003: /dev/sda2: Bad magic number in super-block while 
opening filesystem^M
sendsize[7952]: time 0.003:   DUMP: The ENTIRE dump is aborted.
sendsize[7952]: time 0.004: .
sendsize[7952]: time 0.004: estimate time for / level 0: 0.002
sendsize[7952]: time 0.004: no size line match in /usr/sbin/dump output for /

This error offers more information as to why it really died.
What do I do about it?
What does it mean?
Is this a manifestation of the reiserfs-dump incompatibility?
  
Yes, dump is for ext2/3, it can't backup a reiserfs filesystem, you must 
use GNUTAR for reiserfs.


Jean-Louis



Re: tar vs. dump for / backup?

2008-07-15 Thread Dustin J. Mitchell
On Tue, Jul 15, 2008 at 2:23 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> What do I do about it?
> What does it mean?
> Is this a manifestation of the reiserfs-dump incompatibility?

Perhaps -- but you said /boot was reiserfs too, and was backed up
fine?  Are you sure both partitions are reiserfs?

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: How Do I Back Up a Smartstor?

2008-07-15 Thread Dustin J. Mitchell
On Tue, Jul 15, 2008 at 1:15 PM, Steven Backus
<[EMAIL PROTECTED]> wrote:
> Description:  SMARTSTOR NS4300N 4BAY NAS SATA RAID5 SOHO/SMB
..
> And am wondering how one would back up this beast with amanda?

I would think you would format it into vtapes, assuming it supports
NFS or something else "mountable".

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: tar vs. dump for / backup?

2008-07-15 Thread [EMAIL PROTECTED]
On Tue, 2008-07-15 at 15:04 -0400, Jean-Louis Martineau wrote:   
> Yes, dump is for ext2/3, it can't backup a reiserfs filesystem, you must 
> use GNUTAR for reiserfs.

Great.  Thank you, everyone.
One person suggested I could use dump and avoid the error by changing
the estimate type (in amanda.conf), but I think I'll just avoid dump
since I use reiserfs everywhere.


CONFIDENTIALITY NOTICE:  This electronic mail message and any attachment hereto 
may contain confidential information of Meyer Sound Laboratories, Incorporated 
and is intended for the personal and confidential use of the designated 
recipient(s) only.  If you are not the intended recipient (or responsible for 
delivering the message to the intended recipient), you have received this 
message in error and any review, distribution, or copying of this message or 
any attachment hereto is prohibited.  If you have received this message in 
error, please promptly notify the sender and permanently delete it from your 
computer.


How Do I Back Up a Smartstor?

2008-07-15 Thread Steven Backus
I'm thinking of purchasing this:

Description:  SMARTSTOR NS4300N 4BAY NAS SATA RAID5 SOHO/SMB

The NS4300N is the ideal 4-Drive RAID 5 "Bring Your Own Drives" NAS
Enclosure for Home, SOHO and Small Business applications. Feature
Set includes one of the industry's most mature RAID Engines, SATA
3G, NCQ, Jumbo Frames, User Quota, Backup, Snapshot, HotSwap for
failed drive replacement, Embedded Management Application and
UPNP/DLNA Certification (NS4300N functions as Digital Media
Server).

And am wondering how one would back up this beast with amanda?

Thanks,
  Steve 

-- 
Steven J. BackusComputer Specialist
University of Utah  E-Mail:  [EMAIL PROTECTED]
Genetic EpidemiologyAlternate:  [EMAIL PROTECTED]
391 Chipeta Way -- Suite D  Office:  801.587.9308
Salt Lake City, UT 84108-1266   http://www.math.utah.edu/~backus


Re: tar vs. dump for / backup?

2008-07-15 Thread [EMAIL PROTECTED]
Since the 'all estimate failed' error is a generic (thank you Dustin),
it was suggested (thank you Jean-Louis) that I look on the client for
amandad.*.debug and sendsize.*.debug for error message.

On the Gentoo client I found the log in:
   /var/spool/amanda/tmp/client/DailySet1
The file: sendsize.20080714181357.debug

sendsize[7952]: time 0.001: calculating for amname /, dirname /, spindle -1
sendsize[7952]: time 0.001: getting size via dump for / level 0
sendsize[7952]: time 0.001: calculating for device /dev/sda2 with reiserfs
sendsize[7952]: time 0.001: running "/usr/sbin/dump 0Ssf 1048576 - /dev/sda2"
sendsize[7952]: time 0.002: running /usr/libexec/killpgrp
sendsize[7950]: time 0.002: waiting for any estimate child: 1 running
sendsize[7952]: time 0.003: /dev/sda2: Bad magic number in super-block while 
opening filesystem^M
sendsize[7952]: time 0.003:   DUMP: The ENTIRE dump is aborted.
sendsize[7952]: time 0.004: .
sendsize[7952]: time 0.004: estimate time for / level 0: 0.002
sendsize[7952]: time 0.004: no size line match in /usr/sbin/dump output for /

This error offers more information as to why it really died.
What do I do about it?
What does it mean?
Is this a manifestation of the reiserfs-dump incompatibility?

On Tue, 2008-07-15 at 10:11 -0700, [EMAIL PROTECTED] wrote:
> The disklist was in my first email to the group, but here it is again:
>   builder1.mydomain.com  /boot   hard-disk-dump
>   builder1.mydomain.com  /   hard-disk-dump
> 
> Ian asked (in another email) for a "FAILED DUMP SUMMARY" section to
> explained what happened, as well as my /etc/amanda/DailySet1/amdump.1
> 
> In the report, at the top,  I do see:
> FAILURE AND STRANGE DUMP SUMMARY:
>   builder1.mydomain.com  /  lev 0  FAILED [disk /, all estimate failed]
> 
> My amdump.1 appears in /usr/adm/amanda/ and it's big so I used a
> pastebin site, as I don't know what parts are relevant.  
> Please see: http://pastebin.ca/1072527 
> In that file I do see the same 'FAILED' message above.
> 
> Searching the web for 'amanda all estimate failed' has turned up many
> hits, but few fixes.  Is this a broad error, or could some fix for it go
> in the FAQ?
> 
> 
> On Tue, 2008-07-15 at 11:49 +0200, Andres Moya wrote:
> > post your disklist file strings corresponding to server. and /etc/fstab.
> > difficult to say. what is error reported by amcheck? dump more likely
> > work with deices names, while tar with mounted paths.
> > On Tue, 2008-07-15 at 00:09 -0400, Ian Turner wrote:
> > > On Monday 14 July 2008 22:01:21 [EMAIL PROTECTED] wrote:
> > > > I am trying to backup a remote host's /boot and / mount points.
> > > > I don't have a tape drive, so I am backing up host to a disk on the
> > > > server.
> > > > When I use hard-disk-dump, /boot seems to backup fine, but / doesn't.
> > > > When I use hard-disk-tar, both backup.
> > > > What's wrong with my hard-disk-dump?
> > > 
> > > Can you explain how you know that / doesn't work? To put it differently, 
> > > what 
> > > evidence has Amanda given you that there is a problem, besides the empty 
> > > index dir?
> > > 
> > > --Ian
> > 
> 
> 
> CONFIDENTIALITY NOTICE:  This electronic mail message and any attachment 
> hereto may contain confidential information of Meyer Sound Laboratories, 
> Incorporated and is intended for the personal and confidential use of the 
> designated recipient(s) only.  If you are not the intended recipient (or 
> responsible for delivering the message to the intended recipient), you have 
> received this message in error and any review, distribution, or copying of 
> this message or any attachment hereto is prohibited.  If you have received 
> this message in error, please promptly notify the sender and permanently 
> delete it from your computer.


CONFIDENTIALITY NOTICE:  This electronic mail message and any attachment hereto 
may contain confidential information of Meyer Sound Laboratories, Incorporated 
and is intended for the personal and confidential use of the designated 
recipient(s) only.  If you are not the intended recipient (or responsible for 
delivering the message to the intended recipient), you have received this 
message in error and any review, distribution, or copying of this message or 
any attachment hereto is prohibited.  If you have received this message in 
error, please promptly notify the sender and permanently delete it from your 
computer.


Re: tar vs. dump for / backup?

2008-07-15 Thread Dustin J. Mitchell
On Tue, Jul 15, 2008 at 1:11 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Searching the web for 'amanda all estimate failed' has turned up many
> hits, but few fixes.  Is this a broad error, or could some fix for it go
> in the FAQ?

It's a broad error: essentially "something funny happend on the
client, while I was asking for estimates"

Check the sendsize debug log files on the client in question.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: tar vs. dump for / backup?

2008-07-15 Thread [EMAIL PROTECTED]
The disklist was in my first email to the group, but here it is again:
  builder1.mydomain.com  /boot   hard-disk-dump
  builder1.mydomain.com  /   hard-disk-dump

Ian asked (in another email) for a "FAILED DUMP SUMMARY" section to
explained what happened, as well as my /etc/amanda/DailySet1/amdump.1

In the report, at the top,  I do see:
FAILURE AND STRANGE DUMP SUMMARY:
  builder1.mydomain.com  /  lev 0  FAILED [disk /, all estimate failed]

My amdump.1 appears in /usr/adm/amanda/ and it's big so I used a
pastebin site, as I don't know what parts are relevant.  
Please see: http://pastebin.ca/1072527 
In that file I do see the same 'FAILED' message above.

Searching the web for 'amanda all estimate failed' has turned up many
hits, but few fixes.  Is this a broad error, or could some fix for it go
in the FAQ?


On Tue, 2008-07-15 at 11:49 +0200, Andres Moya wrote:
> post your disklist file strings corresponding to server. and /etc/fstab.
> difficult to say. what is error reported by amcheck? dump more likely
> work with deices names, while tar with mounted paths.
> On Tue, 2008-07-15 at 00:09 -0400, Ian Turner wrote:
> > On Monday 14 July 2008 22:01:21 [EMAIL PROTECTED] wrote:
> > > I am trying to backup a remote host's /boot and / mount points.
> > > I don't have a tape drive, so I am backing up host to a disk on the
> > > server.
> > > When I use hard-disk-dump, /boot seems to backup fine, but / doesn't.
> > > When I use hard-disk-tar, both backup.
> > > What's wrong with my hard-disk-dump?
> > 
> > Can you explain how you know that / doesn't work? To put it differently, 
> > what 
> > evidence has Amanda given you that there is a problem, besides the empty 
> > index dir?
> > 
> > --Ian
> 


CONFIDENTIALITY NOTICE:  This electronic mail message and any attachment hereto 
may contain confidential information of Meyer Sound Laboratories, Incorporated 
and is intended for the personal and confidential use of the designated 
recipient(s) only.  If you are not the intended recipient (or responsible for 
delivering the message to the intended recipient), you have received this 
message in error and any review, distribution, or copying of this message or 
any attachment hereto is prohibited.  If you have received this message in 
error, please promptly notify the sender and permanently delete it from your 
computer.


Re: tar vs. dump for / backup?

2008-07-15 Thread Andres Moya
post your disklist file strings corresponding to server. and /etc/fstab.
difficult to say. what is error reported by amcheck? dump more likely
work with deices names, while tar with mounted paths.
On Tue, 2008-07-15 at 00:09 -0400, Ian Turner wrote:
> On Monday 14 July 2008 22:01:21 [EMAIL PROTECTED] wrote:
> > I am trying to backup a remote host's /boot and / mount points.
> > I don't have a tape drive, so I am backing up host to a disk on the
> > server.
> > When I use hard-disk-dump, /boot seems to backup fine, but / doesn't.
> > When I use hard-disk-tar, both backup.
> > What's wrong with my hard-disk-dump?
> 
> Can you explain how you know that / doesn't work? To put it differently, what 
> evidence has Amanda given you that there is a problem, besides the empty 
> index dir?
> 
> --Ian