Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-13 Thread Matthias Meyer
Frédéric Massot wrote:

> John Rouillard a écrit :
>> On Tue, Sep 08, 2009 at 07:49:03PM +0200, Matthias Meyer wrote:
>>> Michael Stowe wrote:
 By the way, what's the point of doing this?  Are your drives
 unreliable?
>>> Not really. But the server runs a lot of weeks without checking the
>>> disk. I feel better if the disk will be checked regular.
>>> If I determine that there are no errors a couple of month I can stop
>>> this check anyway.
>> 
>> If you are using Linux raid you can do a check/scrub of the disks.
>> 
>>   http://wiki.xdroop.com/space/Linux/Software+Raid+Scrub
>> 
>> This compares the bits on disk for consistency. Fsck'ing the disks is
>> good if you suspect the filesystem structure is wonky, but it won't
>> check the actual data in the files AFIAK (but that might be filesystem
>> type specific). It just checks the metadata like directory structures,
>> inodes, file continuation blocks etc.
> 
> Hi,
> 
> If you are using a Debian is produced by the script "/etc/cron.d/mdadm"
> and "/usr/share/mdadm/checkarray".
> 
> 
Debian :-)
-- 
Don't Panic


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-09 Thread Frédéric Massot
John Rouillard a écrit :
> On Tue, Sep 08, 2009 at 07:49:03PM +0200, Matthias Meyer wrote:
>> Michael Stowe wrote:
>>> By the way, what's the point of doing this?  Are your drives unreliable?
>> Not really. But the server runs a lot of weeks without checking the disk.
>> I feel better if the disk will be checked regular.
>> If I determine that there are no errors a couple of month I can stop this
>> check anyway.
> 
> If you are using Linux raid you can do a check/scrub of the disks.
> 
>   http://wiki.xdroop.com/space/Linux/Software+Raid+Scrub
> 
> This compares the bits on disk for consistency. Fsck'ing the disks is
> good if you suspect the filesystem structure is wonky, but it won't
> check the actual data in the files AFIAK (but that might be filesystem
> type specific). It just checks the metadata like directory structures,
> inodes, file continuation blocks etc.

Hi,

If you are using a Debian is produced by the script "/etc/cron.d/mdadm"
and "/usr/share/mdadm/checkarray".


-- 
==
|  FRÉDÉRIC MASSOT   |
| http://www.juliana-multimedia.com  |
|   mailto:frede...@juliana-multimedia.com   |
===Debian=GNU/Linux===

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-08 Thread John Rouillard
On Tue, Sep 08, 2009 at 07:49:03PM +0200, Matthias Meyer wrote:
> Michael Stowe wrote:
> > By the way, what's the point of doing this?  Are your drives unreliable?
> Not really. But the server runs a lot of weeks without checking the disk.
> I feel better if the disk will be checked regular.
> If I determine that there are no errors a couple of month I can stop this
> check anyway.

If you are using Linux raid you can do a check/scrub of the disks.

  http://wiki.xdroop.com/space/Linux/Software+Raid+Scrub

This compares the bits on disk for consistency. Fsck'ing the disks is
good if you suspect the filesystem structure is wonky, but it won't
check the actual data in the files AFIAK (but that might be filesystem
type specific). It just checks the metadata like directory structures,
inodes, file continuation blocks etc.

-- 
-- rouilj

John Rouillard   System Administrator
Renesys Corporation  603-244-9084 (cell)  603-643-9300 x 111

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-08 Thread Michael Stowe

> Not really. But the server runs a lot of weeks without checking the disk.
> I feel better if the disk will be checked regular.
> If I determine that there are no errors a couple of month I can stop this
> check anyway.

As a general rule, unless the ext3 file system experiences a crash that
prevents it from writing data to the disk, it won't experience any
problems that can be corrected by fsck unless the drive is unreliable (or
controller, or memory, etc.)

I'm not suggesting you not do it, but it's probably better to just reboot
into single user mode and fsck the filesystem if this is what you want to
do.

That being said, xfs and/or jfs would be better choices for a filesystem,
for both speed and reliability.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-08 Thread Matthias Meyer
Michael Stowe wrote:

> 
> By the way, what's the point of doing this?  Are your drives unreliable?
> 
Not really. But the server runs a lot of weeks without checking the disk.
I feel better if the disk will be checked regular.
If I determine that there are no errors a couple of month I can stop this
check anyway.

br
Matthias
-- 
Don't Panic


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-08 Thread Chris Robertson
Matthias Meyer wrote:
> Is there a way to retain the job queue? Or to check if anything is in it?
>   

Not that I'm aware of.

In theory, storing the job queue over a shutdown shouldn't be tough (it 
should just be a matter of writing a construct to a file, and reading it 
in on startup).  At the moment I don't have the time to look into it.

> Matthias
>   

Chris


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-07 Thread higuita
On Mon, 7 Sep 2009 18:04:55 +1200, Michael  wrote:
> Why not ext4?
> works very well on my setup

well, AFAIK, it also have a inode limit, but the max its too large
to be a problem...
yet, i dont know what default limit it have

but the main reason is the same: its too new... i can use it in
my home, in places where i dont care about the data, but i will
not use it in my company servers yet.

each one have its own "age limit" for trusting a new filesystem,
my personal limit is about 1 year AND the main distros already
including support for it for about 3 months

your opinion may vary, of course :)
cya
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
   -- Hermann Goering, Nazi and war criminal, 1883-1946


signature.asc
Description: PGP signature
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-06 Thread Michael
Why not ext4?
works very well on my setup


On Mon, Sep 7, 2009 at 1:04 PM, higuita wrote:
> Hi
>
> On Sun, 6 Sep 2009 08:17:42 -0500, "Michael Stowe" 
>  wrote:
>> By the way, what's the point of doing this?  Are your drives unreliable?
>
>        even worst... why are you using ext3?
>        ever think in switching to reiserfs, xfs or jfs? they should
>        perform better and dont have inode limit as ext3 have.
>
> cya
> higuita
> --
> Naturally the common people don't want war... but after all it is the
> leaders of a country who determine the policy, and it is always a
> simple matter to drag the people along, whether it is a democracy, or
> a fascist dictatorship, or a parliament, or a communist dictatorship.
> Voice or no voice, the people can always be brought to the bidding of
> the leaders. That is easy. All you have to do is tell them they are
> being attacked, and denounce the pacifists for lack of patriotism and
> exposing the country to danger.  It works the same in every country.
>           -- Hermann Goering, Nazi and war criminal, 1883-1946
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>



-- 
--
Michael

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-06 Thread higuita
Hi

On Sun, 6 Sep 2009 08:17:42 -0500, "Michael Stowe" 
 wrote:
> By the way, what's the point of doing this?  Are your drives unreliable?

even worst... why are you using ext3?
ever think in switching to reiserfs, xfs or jfs? they should
perform better and dont have inode limit as ext3 have.

cya
higuita
-- 
Naturally the common people don't want war... but after all it is the
leaders of a country who determine the policy, and it is always a 
simple matter to drag the people along, whether it is a democracy, or
a fascist dictatorship, or a parliament, or a communist dictatorship.
Voice or no voice, the people can always be brought to the bidding of
the leaders. That is easy. All you have to do is tell them they are 
being attacked, and denounce the pacifists for lack of patriotism and
exposing the country to danger.  It works the same in every country.
   -- Hermann Goering, Nazi and war criminal, 1883-1946


signature.asc
Description: PGP signature
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-06 Thread Michael Stowe

By the way, what's the point of doing this?  Are your drives unreliable?

> Chris Robertson wrote:
>
>> Matthias Meyer wrote:
>>> Hello,
>>>
>>> I plan to periodically e2fsck my /var/lib/backuppc.
>>> I want to write a bash script which check if BackupPC_dump is running.
>>> If not, it will stop backuppc, unmount the device and run
>>> e2fsck -fp $device
>>>
>>> What is about BackupPC_link? Should I check for this process too?
>>>
>>
>> Yes.
>>
>>> There are further processes for which I should wait before unmounting
>>> the
>>> device?
>>>
>>
>> BackupPC_nightly
>>
>> BackupPC_trashClean is started by the BackupPC service, but the dump and
>> nightly jobs are (by default) schedule based, and the link follows a
>> dump.  The job queue is not retained over a shutdown-startup cycle.
>>
> Is there a way to retain the job queue? Or to check if anything is in it?
>
> Matthias
> --
> Don't Panic


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-06 Thread Matthias Meyer
Chris Robertson wrote:

> Matthias Meyer wrote:
>> Hello,
>>
>> I plan to periodically e2fsck my /var/lib/backuppc.
>> I want to write a bash script which check if BackupPC_dump is running.
>> If not, it will stop backuppc, unmount the device and run
>> e2fsck -fp $device
>>
>> What is about BackupPC_link? Should I check for this process too?
>>   
> 
> Yes.
> 
>> There are further processes for which I should wait before unmounting the
>> device?
>>   
> 
> BackupPC_nightly
> 
> BackupPC_trashClean is started by the BackupPC service, but the dump and
> nightly jobs are (by default) schedule based, and the link follows a
> dump.  The job queue is not retained over a shutdown-startup cycle.
> 
Is there a way to retain the job queue? Or to check if anything is in it?

Matthias
-- 
Don't Panic


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-04 Thread Chris Robertson
Matthias Meyer wrote:
> Hello,
>
> I plan to periodically e2fsck my /var/lib/backuppc.
> I want to write a bash script which check if BackupPC_dump is running.
> If not, it will stop backuppc, unmount the device and run
> e2fsck -fp $device
>
> What is about BackupPC_link? Should I check for this process too?
>   

Yes.

> There are further processes for which I should wait before unmounting the
> device?
>   

BackupPC_nightly

BackupPC_trashClean is started by the BackupPC service, but the dump and 
nightly jobs are (by default) schedule based, and the link follows a 
dump.  The job queue is not retained over a shutdown-startup cycle.

> Thanks
> Matthias
>   

Chris


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] periodically e2fsck the device /var/lib/backuppc

2009-09-04 Thread Matthias Meyer
Hello,

I plan to periodically e2fsck my /var/lib/backuppc.
I want to write a bash script which check if BackupPC_dump is running.
If not, it will stop backuppc, unmount the device and run
e2fsck -fp $device

What is about BackupPC_link? Should I check for this process too?
There are further processes for which I should wait before unmounting the
device?

Thanks
Matthias
-- 
Don't Panic


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/