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:53 PM
Post: #6
jyviko Offline
Registered
Posts: 8
Joined: Sep 2013
Reputation: 0
RE: xbiancopy fails after upgrading
(22nd Jun, 2014 09:22 PM)mk01 Wrote:  @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

Hi mk01,

First of all I had upgraded the version of xbian-package-config-shell to 2.1.7-5 from 2.1.7-4.
Then I tried what you suggested and I was able to create a 5Gb and then I successfully created the partitions and formatted them. When looking inside /dev/mapper I can see two loop1p1 and loop1p2. It seems that I am able to create those properly.
I tried once more with the xbiancopier and I cannot see loop device inside /dev/mapper. Maybe the script is somewhere broken?

Thank you for your support!

Best,
JIK
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: 22nd May, 2025, 09:00 AM Powered By MyBB, © 2002-2025 MyBB Group.