Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: errors running ark?

  1. #1

    Default errors running ark?

    Running ark to create tar of virtual HD file (16gb). I get the following error (one of many similar errors) and I am unable to find any info on this error. I am running ark as user, not su.

    Code:
    ark(10414) KSambaSharePrivate::getNetUserShareInfo: We got some errors while running 'net usershare info' 
    ark(10414) KSambaSharePrivate::getNetUserShareInfo: "info_fn: file /var/lib/samba/usershares/docs is not a well formed usershare file.
    info_fn: Error was Path is not a directory.
    info_fn: file /var/lib/samba/usershares/suse-nos is not a well formed usershare file.
    info_fn: Error was Path is not a directory.
    info_fn: file /var/lib/samba/usershares/down is not a well formed usershare file.
    info_fn: Error was Path is not a directory.
    " 
    ark(10414): couldn't create slave: "Unable to create io-slave:
    klauncher said: Unknown protocol ''.
    "
    I don't know why there is even a reference to folder /var/lib/* since it is not part of the files I am tar'g.

    I am running ark from terminal and adding 2 folders. Each folder contains a total of 10 files in several folders. The task seems to complete properly.

    The purpose of creating the .tar is to archive it to a fat32 partition (copy .tar to usb drive) and not lose the ownship permissions.

    Jon

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: errors running ark?

    Quote Originally Posted by 6520302 View Post
    Running ark to create tar of virtual HD file (16gb). I get the following error (one of many similar errors) and I am unable to find any info on this error. I am running ark as user, not su.

    Code:
    ark(10414) KSambaSharePrivate::getNetUserShareInfo: We got some errors while running 'net usershare info' 
    ark(10414) KSambaSharePrivate::getNetUserShareInfo: "info_fn: file /var/lib/samba/usershares/docs is not a well formed usershare file.
    info_fn: Error was Path is not a directory.
    info_fn: file /var/lib/samba/usershares/suse-nos is not a well formed usershare file.
    info_fn: Error was Path is not a directory.
    info_fn: file /var/lib/samba/usershares/down is not a well formed usershare file.
    info_fn: Error was Path is not a directory.
    " 
    ark(10414): couldn't create slave: "Unable to create io-slave:
    klauncher said: Unknown protocol ''.
    "
    I don't know why there is even a reference to folder /var/lib/* since it is not part of the files I am tar'g.

    I am running ark from terminal and adding 2 folders. Each folder contains a total of 10 files in several folders. The task seems to complete properly.

    The purpose of creating the .tar is to archive it to a fat32 partition (copy .tar to usb drive) and not lose the ownship permissions.
    If you're running it from the terminal, why don't you use tar directly? Ark is just a front for tar.

  3. #3
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: errors running ark?

    Quote Originally Posted by 6520302 View Post
    The purpose of creating the .tar is to archive it to a fat32 partition (copy .tar to usb drive) and not lose the ownship permissions.
    16GB is too large for a FAT32 system. The max file size is 4GB. You'll have to split this up, or use a different file system.

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: errors running ark?

    I recently had format a USB flash drive to NTFS for a large file issue. It works fine.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,841
    Blog Entries
    14

    Default Re: errors running ark?

    Quote Originally Posted by chief_sealth View Post
    16GB is too large for a FAT32 system. The max file size is 4GB. You'll have to split this up, or use a different file system.
    + You cannot preserver ownership on FAT partitions.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,124

    Default Re: errors running ark?

    Quote Originally Posted by Knurpht View Post
    + You cannot preserver ownership on FAT partitions.
    My interpretation of the OP's goal is that he want to preserve ownership, etc. of the files archieved inside the tar file. Not the ownership of the tar file itself.
    Henk van Velden

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,841
    Blog Entries
    14

    Default Re: errors running ark?

    Quote Originally Posted by hcvv View Post
    My interpretation of the OP's goal is that he want to preserve ownership, etc. of the files archieved inside the tar file. Not the ownership of the tar file itself.
    You're correct, as always .
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,124

    Default Re: errors running ark?

    Quote Originally Posted by Knurpht View Post
    You're correct, as always .
    I am not so sure. In my case I wouldn't even think of using a non-Linux file system on that backup device, but I may be incorrect
    Henk van Velden

  9. #9

    Default Re: errors running ark?

    Quote Originally Posted by chief_sealth View Post
    16GB is too large for a FAT32 system. The max file size is 4GB. You'll have to split this up, or use a different file system.
    Thanks all for your comments. I had forgotten that there is a filesize limit on fat32 so I'll have to review what is archived on that usb drive and look into changing it to ntfs (it is also used with XP).

    Although no one specifically confirmed that the ownership would be preserved inside a .tar, the lack of a negative response implies that this will work.

    No one did comment on the error's I received.
    After posting I found the samba smdb&nmdb stopped (they frequently stop on their own) and since I had not used Samba I presume those errors relate to smdb & nmdb not running. Why this should matter while running ark I have no idea but I guess it doesn't matter. Next time I do this I'll check samba before I make the .tar.

    Jon

  10. #10
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: errors running ark?

    Quote Originally Posted by 6520302 View Post
    Thanks all for your comments. I had forgotten that there is a filesize limit on fat32 so I'll have to review what is archived on that usb drive and look into changing it to ntfs (it is also used with XP).

    Although no one specifically confirmed that the ownership would be preserved inside a .tar, the lack of a negative response implies that this will work.
    Yes, it will be preserved. I didn't realize that this was a "question."


    No one did comment on the error's I received.
    After posting I found the samba smdb&nmdb stopped (they frequently stop on their own) and since I had not used Samba I presume those errors relate to smdb & nmdb not running. Why this should matter while running ark I have no idea but I guess it doesn't matter. Next time I do this I'll check samba before I make the .tar.
    Just use the built-in tar command, it's specifically for this purpose. I don't know why ark is communicating with samba, but this isn't necessary unless you're doing this over a network. Is there some information you're leaving out?

    Code:
    tar -czf archive.tar.gz /path/to/diraectory

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •