LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-26-2010, 07:41 AM   #1
myoung
LQ Newbie
 
Registered: Nov 2010
Posts: 27

Rep: Reputation: 0
slackware-current breaks fsarchiver


I am using slackware-current and up until last week I was using fsarchiver 0.6.8 to do system partition backups using a command like:
fsarchiver savefs -A -a -z 3 -s 4300 /backuphost/xxxx-rootfs-201011182135.fsa /dev/sda2

Now I get an error:
backup cmd is: fsarchiver savefs -A -a -z 3 -s 4300 /backuphost/xxxx-rootfs-201011262135.fsa /dev/sda2
Archive will be split into volumes of 4508876800 bytes (4.20 GB)
filesys.c#204,generic_mount(): partition [/dev/sda2] cannot be mounted on [/tmp/fsa/20101126-213520-00] as [ext3] with options [user_xattr,acl]
oper_save.c#1032,filesystem_mount_partition(): can't detect and mount filesystem of partition [/dev/sda2], cannot continue.
removed /backuphost/xxx-rootfs-201011262135.fsa

I have upgraded to fsarchiver 0.6.10 using "SlackBuilds.org" fsarchiver scripts and repeated with no change at all to the error.

I booted from a systemrescuecd-x86-1.6.3.iso disk and used basically the same fsarchiver command and it worked fine.
The only change from 18/11/2010 - 26/11/2010 is the new slackware packages, which are actually quite extensive.

My Google searches have returned nothing useful.

my C and linux understanding is not good enough to enable me to fix fsarchiver even after it tells me the error occurs in filesys.c line 204.

Anyone using Slackware-current and fsarchiver know the answer?
 
Old 11-27-2010, 11:01 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,466

Rep: Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798
Your problem appears to be that your /dev/sda2 partition cannot be mounted using the user_xattr,acl options.
I can mount an ext4 partition with these options on my -current setup.
Perhaps you have had a failed package update.
Try reinstalling the util-linux-ng-2.18-i486-1 package.
 
Old 11-28-2010, 01:05 AM   #3
myoung
LQ Newbie
 
Registered: Nov 2010
Posts: 27

Original Poster
Rep: Reputation: 0
fsarchiver

tried:
slapt-get --reinstall --install util-linux-ng
no errors
fsarchiver ...
same error
just for good measure - reboot, fsarchiver ..., same error
Same result on another computer also running slackware-current also with ext3 partitions.

You said it worked on ext4 so that got me thinking!
It seems to be ext3 related as I just tried fsarchiver on an ntfs partition
and did not get the same error.
Humm, maybe it is time to change from ext3 to ext4. Time to experiment on my test computer.
I hope I am not the only one left using slackware on ext3
It would be be better if ext3 was supported.

Just converted the root partition from ext3 to ext4
fsarchiver ... Same error !!!

What was your fsarchiver command that worked on ext4?

Quote:
Originally Posted by allend View Post
Your problem appears to be that your /dev/sda2 partition cannot be mounted using the user_xattr,acl options.
I can mount an ext4 partition with these options on my -current setup.
Perhaps you have had a failed package update.
Try reinstalling the util-linux-ng-2.18-i486-1 package.

Last edited by myoung; 11-28-2010 at 02:26 AM. Reason: update
 
Old 11-28-2010, 03:05 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,466

Rep: Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798
I do not use fsarchiver, although it looks like an interesting program.
My reply was based on the error message in your first post. I have a hunch that there is something wrong with your setup that is causing a problem with the mounting of /dev/sda2.
Can you try mounting an ext3 or ext4 partition using the user_xattr and acl mount options from the Slackware setup where you are attempting to run fsarchiver?
i.e. Can you successfully use 'mount -o defaults,user_xattr,acl /dev/<some_ext3/4_filesystem> /mnt/tmp' to mount an unmounted partition?
 
Old 11-28-2010, 10:58 AM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
I maintain fsarchiver script on SBo. I just tried fsarchiver on ext3 partition and it works perfectly. I'm using slackware (x86) -current with latest updates. My fstab entry for ext3 partition is below:

Code:
/dev/sda2          /boot            ext3        defaults,relatime         1   2
 
Old 11-29-2010, 06:29 AM   #6
myoung
LQ Newbie
 
Registered: Nov 2010
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by allend View Post
I do not use fsarchiver, although it looks like an interesting program.
My reply was based on the error message in your first post. I have a hunch that there is something wrong with your setup that is causing a problem with the mounting of /dev/sda2.
Can you try mounting an ext3 or ext4 partition using the user_xattr and acl mount options from the Slackware setup where you are attempting to run fsarchiver?
i.e. Can you successfully use 'mount -o defaults,user_xattr,acl /dev/<some_ext3/4_filesystem> /mnt/tmp' to mount an unmounted partition?
Have successfully mounted using:
mount -o defaults,user_xattr,acl /dev/sdc1 /mnt
ls -la
...
no problem.

Can also do fsarchiver using:
fsarchiver savefs -A -a -s 4300 /data2/mytest.fsa /dev/sdc1
where
/dev/sda2 - root filesystem (/) first disk
/dev/sdb1 - /data2 (second disk)
/dev/sdc1 - /data3 third disk

but get the error when doing:
fsarchiver savefs -A -a -z 3 -s 4300 /backuphost/xxxx-rootfs.fsa /dev/sda2
where
/dev/sda2 - root filesystem (/) first disk
/backuphost - nfs mount filesystem

Is the problem that /tmp is part of / (root file system) which is what is being archived?
If so how do I get fsarchiver to use something other than /tmp?
and if a computer only has one disk and one partition (/) what do I use then?

Last edited by myoung; 11-29-2010 at 06:43 AM. Reason: update
 
Old 11-29-2010, 07:40 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,466

Rep: Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798Reputation: 2798
You are trying to mount your entire active filesystem onto /tmp.
I do not like that idea. I would stick with the LiveCD method that you know works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware{,64}-13.1, smb: copying breaks at 32K bormant Slackware 7 07-06-2010 10:07 AM
Slackware-current mysql-1.5.42 breaks Mythtv tux_dude Slackware 1 03-11-2010 02:29 PM
Upgrade of imagemagick in >12.2 current breaks dvdrip dependency rpedrica Slackware 4 05-26-2009 08:19 AM
slackware current question on the current kernels davimint Slackware 3 06-03-2007 08:39 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration