file copy problem: filename too long
Andre Campos Rodovalho
andre.rodovalho at gmail.com
Sun Sep 27 17:19:06 UTC 2015
Hi Tom, try to test copying specifically a file you know throws an error.
You might want to check how many characters there is on filename, I found
some references that point 140 characters as the maximum possible for
encryptfs:
http://unix.stackexchange.com/questions/32795/what-is-the-maximum-allowed-filename-and-folder-size-with-ecryptfs
To copy using CLI:
$ cp /path/FILENAME_FROM /path/FILENAME_TO
2015-09-27 11:24 GMT-03:00 Nio Wiklund <nio.wiklund at gmail.com>:
> Hi Tom,
>
> Not quite like that.
>
> This drive that you show with lsblk has 'only' encrypted home with
> cryptswap.
>
> The other system, that you showed earlier, the netbook(?) has a mapped
> root partition. lsblk would show more details, and I think that system
> has .encrypted disk'.
>
> /dev/mapper/lubuntu--vg-root ext4 152432756 28978632 115687904 21% /
>
> I don't know all the details of the 'encrypted home' system, if there
> are limits to the file names (size, use of special characters etc).
>
> Best regards
> Nio
>
> Den 2015-09-26 kl. 17:10, skrev Tom Cloyd:
> >
> > Nio,
> >
> > Thanks. I'm learning a lot with this inquiry. Here's the output I get
> > with the command you suggest:
> >
> > tomc at LDT:/$ sudo lsblk -fm
> >
> > [sudo] password for tomc:
> >
> > NAME FSTYPE LABEL UUID
> MOUNTPOINT NAME SIZE OWNER GROUP MODE
> >
> > sda
> sda 298.1G root disk brw-rw----
> >
> > ├─sda1 ext4 35b917be-57cf-4a8b-8064-5081d394b269 /
> ├─sda1 295.1G root disk brw-rw----
> >
> > └─sda5 swap 4a980b3c-1e88-473f-99ef-7a1542d93503
> └─sda5 3G root disk brw-rw----
> >
> > └─cryptswap1 swap 635c8c41-645c-4819-b4b4-86bff68091c1 [SWAP]
> └─cryptswap1 3G root disk brw-rw----
> >
> > sdb
> sdb 149.1G root disk brw-rw----
> >
> > └─sdb1 ext4 data 65e8d99c-e515-49b0-885b-dba9249560af
> /media/tomc/data └─sdb1 149.1G root disk brw-rw----
> >
> > sr0
> sr0 1024M root cdrom brw-rw----
> >
> > tomc at LDT:/$
> >
> >
> > If I read this right, it's telling me that sda (my desktop hard drive)
> > is an encrypted drive, rather than containing merely an encrypted /home.
> > Please correct me if I'm wrong.
> >
> > Beyond that, I don't know how to use this to make progress on my file
> > copy problem. I have some other responses to my query, and I'm going to
> > check them out now.
> >
> > Thanks again,
> >
> > Tom
> >
> > On 09/26/2015 12:51 AM, Nio Wiklund wrote:
> >> Hi Tom,
> >>
> >> ecryptfs indicates 'encrypted home' and
> >>
> >> /dev/mapper/lubuntu--vg-root indicates LVM partitions which are used
> >> with 'encrypted disk'.
> >>
> >> You can get more details about the partitions and file systems from the
> >> following command (make the terminal window wide enough for the long
> >> lines in the output).
> >>
> >> sudo lsblk -fm
> >>
> >> Good luck
> >> Nio
> >>
> >> Den 2015-09-26 kl. 09:33, skrev Tom Cloyd:
> >>> Aere,
> >>>
> >>> First, that's a question I've never encountered before, and I really
> >>> don't know what you're asking. But Google seems to, and one answer I
> got/dev/mapper/lubuntu--vg-root ext4 152432756 28978632 115687904 21% /
> >>> was to issue a *df -T* command to get filesystem information.
> >>>
> >>> So, here's the response I get on my *desk top*, with the USB HD
> >>> (/media/tomc/data) mounted:
> >>>
> >>> tomc at LDT:/$ df -T
> >>> Filesystem Type 1K-blocks Used Available Use%
> Mounted on
> >>> udev devtmpfs 1530592 0 1530592 0% /dev
> >>> tmpfs tmpfs 309092 5256 303836 2% /run
> >>> /dev/sda1 ext4 304448824 165895764 123064908 58% /
> >>> tmpfs tmpfs 1545448 740 1544708 1%
> /dev/shm
> >>> tmpfs tmpfs 5120 4 5116 1%
> /run/lock
> >>> tmpfs tmpfs 1545448 0 1545448 0%
> >>> /sys/fs/cgroup
> >>> tmpfs tmpfs 309092 12 309080 1%
> >>> /run/user/1000
> >>> /home/tomc/.Private ecryptfs 304448824 165895764 123064908 58%
> /home/tomc
> >>> /dev/sdb1 ext4 153704484 55642056 90231596 39%
> >>> /media/tomc/data
> >>> tomc at LDT:/$
> >>>
> >>> And on my *netbook* (USB HD is not mounted):
> >>>
> >>> tomc at LT:~$ df -T
> >>> Filesystem Type 1K-blocks Used Available Use%
> >>> Mounted on
> >>> udev devtmpfs 497380 0 497380
> 0% /dev
> >>> tmpfs tmpfs 101656 13328 88328
> 14% /run
> >>> /dev/mapper/lubuntu--vg-root ext4 152432756 28978632 115687904
> 21% /
> >>> tmpfs tmpfs 508276 76 508200 1%
> >>> /dev/shm
> >>> tmpfs tmpfs 5120 4 5116 1%
> >>> /run/lock
> >>> tmpfs tmpfs 508276 0 508276 0%
> >>> /sys/fs/cgroup
> >>> /dev/sda1 ext2 240972 72053 156478 32%
> >>> /boot
> >>> cgmfs tmpfs 100 0 100 0%
> >>> /run/cgmanager/fs
> >>> tmpfs tmpfs 101656 12 101644 1%
> >>> /run/user/1000
> >>> tomc at LT:~$
> >>>
> >>> Something I might mention which could have bearing. For professional
> >>> reasons, I need to have at least my main personal account directory
> >>> encrypted. So, I took the encryption option offered when installing
> >>> Lubuntu (I had been running Kubuntu). But I didn't get the same
> response
> >>> for both desktop and netbook. (Recall that with the netbook I am NOT
> >>> having this filelength copy issue).
> >>>
> >>> I neglected to take notes, and cannot reliably recall, but on one of
> the
> >>> installs I WAS able to encrypt the whole disk. On the other install,
> the
> >>> installer refused to do that and would only let me encrypt /home. Can
> >>> you tell, looking at the above, which machine has only /home encrypted?
> >>>
> >>> I hope this is the information you need. Thanks for your help. Much
> >>> appreciated.
> >>>
> >>> Tom
> >>>
> >>> On 09/25/2015 09:17 PM, Aere Greenway wrote:
> >>>> Tom:
> >>>>
> >>>> What type of file-system was originally copied to the USB hard-drive,
> >>>> and what type of file-system are you copying it to?
> >>>>
> >>>> - Aere
> >>>>
> >>>>
> >>>> On 09/25/2015 04:04 PM, Tom Cloyd wrote:
> >>>>> I'm baffled by a problem which I'm having on my Lubuntu install
> >>>>> [15.04] on my Dell Inspiron which is NOT occurring on my HP Mini 110
> >>>>> netbook. The OS installation on the HP netbook is identical to that
> >>>>> on the Dell so far as I know.
> >>>>>
> >>>>> In trying to copy several large directories from a backup USB
> >>>>> harddrive, I get a refusal to copy on the Dell due to a number
> >>>>> (several hundred) of filenames' being too long.
> >>>>>
> >>>>> I NEED to complete this directory copy. Can anyone advise me as to
> >>>>> how to resolve this problem?
> >>>>>
> >>>>> Thanks!
> >>>>>
> >>>>> Tom
> >>>>>
> >>>>>
> >>>>> --
> >>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>>>>
> >>>>> Human beings are not born once and for all on the day their mothers
> >>>>> give birth to them,
> >>>>> but...life obliges them over and over again to give birth to
> themselves.
> >>>>>
> >>>>> ~ Gabriel García Márquez
> >>>>>
> >>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>>>> Tom Cloyd, MS MA LMHC (WA)
> >>>>> Psychotherapist (psychological trauma, dissociative disorders)
> >>>>> Spokane, Washington, U.S.A: (435) 272-3332
> >>>>> << tc at tomcloyd.com <mailto:tc at tomcloyd.com> <mailto:tc at tomcloyd.com
> <mailto:tc at tomcloyd.com>> >> (email)
> >>>>> << TomCloyd.com >> (website)
> >>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>>>>
> >>>>>
> >>>> --
> >>>> Sincerely,
> >>>> Aere
> >>> --
> > --
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > Human beings are not born once and for all on the day their mothers give
> > birth to them,
> > but...life obliges them over and over again to give birth to themselves.
> >
> > ~ Gabriel García Márquez
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Tom Cloyd, MS MA LMHC (WA)
> > Psychotherapist (psychological trauma, dissociative disorders)
> > Spokane, Washington, U.S.A: (435) 272-3332
> > << tc at tomcloyd.com <mailto:tc at tomcloyd.com> >> (email)
> > << TomCloyd.com >> (website)
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20150927/212e870f/attachment-0001.html>
More information about the Lubuntu-users
mailing list