Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] xbiancopy fails after upgrading
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: xbiancopy fails after upgrading
22nd Jun, 2014, 09:22 PM
Post: #5
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: xbiancopy fails after upgrading
@jyviko

if you get loop module loaded, that means space prealocation on created empty file is ok.

there are two options when looking at your new screen shot. the error is displaying block device /dev/mapper/p1. but it should have been /dev/mapper/loopXp1 (where X is 0-9). two reasons are coming to my mind:

1) bug of some kind causing not proper detection of used loop device - be sure you run last available xbian-package-config-shell which is 2.1.7-5 at STABLE repo.
2) cifs doesn't support all fs ioctl calls as required by loop and mapper modules.

for the 2) you could check manually like this:

Code:
sudo -i
touch /media/backup/TEST.img
truncate -s 5G /media/backup/TEST.img <<<< let's test the 4GB limit per file (if prealocation is fully supported this should take no longer than few seconds (1-10). after that, with ls -lah /media/backup/TEST.img should read file size of 5GB

modprobe loop
losetup -f      <<< will just show first free loop device to use remember the name

losetup /dev/loopX /media/backup/TEST.img     <<<< /dev/loopX is actual loop as returned by "losetup -f"

if still ok, create partitions on that loop device and try to format them :
Code:
losetup -d /dev/loopX
fdisk  /media/backup/TEST.img <<<<< do on your own, create any two partitions. save par table.


kpartx -av /media/backup/TEST.img    <<<< that actual command will reuse loopX again, but will map them through mapper to /dev/mapper/loopXp1 and p2.

mkfs.vfat /dev/mapper/loopXp1
mkfs.btrfs /dev/mapper/loopXp2

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
xbiancopy fails after upgrading - jyviko - 21st Jun, 2014, 08:17 PM
RE: xbiancopy fails after upgrading - IriDium - 22nd Jun, 2014, 04:38 AM
RE: xbiancopy fails after upgrading - mk01 - 22nd Jun, 2014, 08:50 AM
RE: xbiancopy fails after upgrading - jyviko - 22nd Jun, 2014, 06:11 PM
RE: xbiancopy fails after upgrading - mk01 - 22nd Jun, 2014 09:22 PM
RE: xbiancopy fails after upgrading - jyviko - 22nd Jun, 2014, 09:53 PM
RE: xbiancopy fails after upgrading - mk01 - 22nd Jun, 2014, 10:08 PM
RE: xbiancopy fails after upgrading - jyviko - 23rd Jun, 2014, 03:08 AM
RE: xbiancopy fails after upgrading - mk01 - 25th Jun, 2014, 04:59 AM
RE: xbiancopy fails after upgrading - jyviko - 25th Jun, 2014, 05:27 AM
RE: xbiancopy fails after upgrading - mk01 - 2nd Jul, 2014, 10:07 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 24th May, 2025, 05:31 PM Powered By MyBB, © 2002-2025 MyBB Group.