I have a device that is failing. Using ddrescue
, I have recovered all all but about 500 KB in 83 regions. The map file tells me the raw offset and length of each lost region. I want to find out what files are affected. How can I obtain a list of physical sector offsets associated with a file on an exFAT volume?
I have the following fs:
/dev/sdb1 exfat 60085120 11776 60073344 1% /mnt/apuntes
in the /etc/exports:
/mnt/apuntes 192.168.2.20(rw,sync,no_subtree_check)
the service is started and I launch the following command:
exportfs -ar
and I get the following error:
exportfs: /mnt/apuntes does not support NFS export
Can't export in exfat format ??? what am I doing wrong
My SystemRescueCD (bootable CD based on Arch Linux distribution) won't mount my exFAT SD card. When I plug in the USB reader, /dev/sdc
appears, but it won't even show /dev/sdc1
. No way to mount it, mount /dev/sdc1 /mnt/1
will fail.
It is interesting that /dev/sdc1
is recognized by cfdisk /dev/sdc
- it shows that there is a free space of ~ 1 MB and then the /dev/sdc1
of ~ 64 GB. But there is no /dev/sdc1
appearing on the filesystem! If I put normal FAT SD card in the reader, the /dev/sdc1
appears correctly.
How do I make SystemRescueCD mount exFAT? Looking in /root/packages-list.txt
, it contains exfat-utils 1.3.0-1
. I was able to run mount.exfat
and mount.exfat-fuse
, but still there is the problem that /dev/sdc1
doesn't exist, and trying to mount /dev/sdc obviously results in an error.
It is rather surprising, that SystemRescueCD isn't able to do this by default, the purpose of "rescue CD" implies to me that it should be able to mount as many filesystems as possible).
(I have SystemRescueCD version 6.0.3, uname -a
gives Linux sysresccd 4.19.34-1-lts #1 SMP Sat Apr 6 19:41:19 CEST 2019 x86_64 GNU/Linux; it doesn't seem that this issue would be different in the newest version)
I have a git-daemon accessed through ssh. All repositories are in /srv/git.
I have some other projects saved on a exfat disk, so I want to create a symbolic link from that disk to /srv/git.
For example, I have /mnt/Medias/Projects/Defi\ H.git
so I simply do:
cd /srv/git
sudo ln -s /mnt/Medias/Projects/Defi\ H.git
But the file is created as root:root, 777.
To restrict access to the repositories, I want to change the posix rights of that file. If first try:
sudo chmod 755 Defi\ H.git
chmod: changing permissions of `Defi H.git': Function not implemented
I've found that this is because the link points to a folder stored on an exfat disk. In the same way, this fails:
sudo chown git:defih Defi\ H.git
chown: changing ownership of `Defi H.git': Function not implemented
So I want to create the link as the right user directly:
sudo -u git -g defih ln -s /mnt/Medias/Projects/Defi\ H.git
Sorry, user geoffroy is not allowed to execute '/bin/ln -s /mnt/Medias/Projects/Defi H.git' as git:defih on Aethelflaed.
I'm part of group wheel
and sudo
's configuration shows:
%wheel ALL=(ALL) ALL
I don't understand why this last command fail? Any advice?
Or am I supposed to make a copy of the file on another filesystem? /srv/git is btrfs, if this have any importance.
The operating system is Windows Server 2003 R2 x64 with all updates applied.
I have an external hard disk enclosure (one of these) with a 1 TB drive (garden-variety Seagate). When I right-click in Explorer and choose “Format…” the only option is exFAT. I really want NTFS.
- If I do try to format as exFAT, I get a generic error message: “Windows was unable to complete the format.”
- Other external drives give me a choice of NTFS or exFAT.
- Problem occurs over both USB or Firewire.
Workaround: I was able to use diskmgmt.msc
to format as NTFS.
But I am wondering:
- Why wouldn’t Explorer offer NTFS as an option? Is this a red flag for problems?
- If NTFS is not a formatting option in Explorer, should I do anything with the disk? Re-partition?