Questions tagged [ntfs]

NTFS (New Technology File System) is the standard file system of Windows. Use this tag in questions about using NTFS partitions and tools on your system.

0
votes
0answers
21 views

rsync slows down over the daily images

I am using rsnapshot which is using rsync in the background for creating backups of my data. I logged the time rsnapshot runs and there are two strange things: At first it slows down with every daily ...
0
votes
0answers
9 views

Mounting windows server 2016 Azure VM GPT basic NTFS partition on linux

I have an azure blob (a .vhd disk) which is a copy of a windows data disk created by taking a snapshot of the live disk, then copying that snapshot to a temporary blob, which is the blob I have ...
5
votes
1answer
66 views

Renaming a file while it is being written

I'm wondering if this is considered safe. I know the file handles work just fine as long as a link remains, and I know the identifier is the inode rather than the name, but I am not sure how it works ...
0
votes
0answers
18 views

moving a file from ntfs to btrfs while preserving the creation time

Both ntfs and btrfs support file creation times. When I copy a file however, only the modification time is preserved. Is there a way to preserve creation times too? For context I wish to migrate my ...
1
vote
0answers
25 views

why does these partition gaps occur? [duplicate]

I am doing an experimental project on NTFS and I just discovered every time I create a new partition there seems to be a (nearly 1MB) partition gap created just before the new partition. I searched ...
0
votes
1answer
54 views

How to prevent `atime` in Linux from overwriting `Date created` in Windows on NTFS?

From Linux, if I alter files on an NTFS external HD so that I get some specific values for mtime, atime and ctime (readable with the stat command, and with ctime = mtime because one cannot change ...
0
votes
0answers
21 views

Accessing ntfs in a M.2 SSD containing Windows installation

My Linux installation (running from an internal HDD) has no problem accessing ntfs partitions, expect for the new M.2 SSD. Gparted reports that I need ntfsprogs, but as far as I know its ...
0
votes
1answer
32 views

How to fix or retrieve data from an NTFS partition that was (re-)formatted with gnome-disk?

This morning, as usual, I mounted a 622 GB Windows (NTFS) partition on Linux for use. When I went on to unmount it through the graphical disks tool on GNOME, I accidentally formatted it, and now it’s ...
1
vote
2answers
63 views

All files or folders copied from an NTFS drive are with drwxrwxrwx rights. Can I correct this easily?

I went from Windows 7 to Debian 9, copying most of the files I'm using for my projects from an NTFS drive. I see that : all the folders I have copied are now with rights drwxrwxrwx instead of drwxr-...
0
votes
1answer
29 views

How to Mount an NTFS Formatted SD Card with pmount (or other tool)?

I wrote a script which transfers automatically pictures from the SD card (taken with a digital camera) to the harddrive and takes care of putting them in a subdirectory in the main pictures folder and ...
1
vote
1answer
83 views

Why is mkntfs taking such a long time?

Under FreeBSD 12.0 the command mkntfs -Q /dev/da3s1 (with the quick-format flag) still takes a very long time (not finished after some hours) for a 1 TB hard disk drive. It gives the following ...
1
vote
1answer
23 views

Recover file list from NTFS formatted (MBR) failing hard drive

My Seagate Backup Plus Ultra Slim 2TB USB hard disk is not detected on Windows(explorer, disk management, safety remove dialog all crashes when I plug in) but on fedora, it takes 2 minutes to ...
1
vote
2answers
112 views

Sudo rm -rf does not remove a non-empty folder

I have a mounted an external hard disk on /media/pcmagas/Backup disk containing a folder dimitrios. When I try to remove it with the following comand: /media/pcmagas/Backup disk sudo rm -rf ./...
1
vote
1answer
200 views

What is the correct permission in /etc/fstab to mount NTFS?

I have Windows and Arch Linux in dual with UEFI. I want to mount my another NTFS partition in Arch. I mounted the partition with mount /dev/sda5 /mnt/Apps command. Then added the output of genfstab -...
0
votes
0answers
37 views

Installing Fedora 29 alongside Windows 10 replacing Ubuntu 18.10

I currently have a Windows 10 installation and Ubuntu 18.10 installed alongside it. I recently tried to install fedora but on the HDD there was no FAT32 partition for the boot. sdap1 was a NTFS ...
1
vote
1answer
237 views

GRUB Boot ISO/disk image from NTFS partition

I'm trying to boot an ISO containing a Linux live system from an existing NTFS partition on a PC. The PC has UEFI, and the hard disk is partitioned with GPT, so GRUB4DOS is not an option. Can this be ...
0
votes
3answers
46 views

How to detect NTFS/exFAT filing system type fronm script

User has a (incremental) backup script using rsync, to external device. This was erroring on an SSD he had. Turns out (I had no idea) his device was formatted exFAT. Unfortunately that means I need ...
0
votes
0answers
55 views

CIFS permission issues when mounting a NTFS partition

I'm attempting to mount an NTFS file share. sudo mount.cifs //address.fileshare.com/TestMount /home/me/TestMount -o username=MyUserName,domain=MyDomain,uid=MyUserName,file_mode=0777,dir_mode=0777, ...
-4
votes
2answers
81 views

Windows removed files copied from Linux and ext4 filesystem

I have an external hard drive with a ntfs filesystem. I have used it to backup the files under my /home (an ext4 filesystem). I choose NTFS only because it is said to be portable between Windows and ...
6
votes
2answers
677 views

Why is the size of a directory either 0 or 4096? [duplicate]

$ ls -l total 28 drwxrwxrwx 1 t t 4096 May 8 2018 dir1 drwxrwxrwx 1 t t 0 Mar 12 2015 dir2 drwxrwxrwx 1 t t 4096 Jan 17 2014 dir3 drwxrwxrwx 1 t t 4096 Jun 12 2017 dir4 drwxrwxrwx 1 t t ...
1
vote
0answers
30 views

fstab bound folders show as disks in GUI

I'm trying to mount different folders on sda7 in the folders in the /home folder. like documents, pictures, and music. I always did that like this: /media/betty/Tuinhuisje/Betty/Documents /home/...
0
votes
0answers
104 views

CentoOS 7 Samba Share USB NTFS

Cannot seem to find an answer which includes all of the specifics of my situation. I followed instructions in Sharing a mounted drive with samba on CentOS7, but still have a problem. I have CentOS 7 ...
2
votes
0answers
579 views

NTFS Signature Missing

I've been trying to access my Windows partition using Linux bootable USB flash drive. Looking at the size of lsblk output, I believe the main partition is /dev/sda2 root@linux:~# lsblk NAME MAJ:...
3
votes
1answer
158 views

Partitioning and formatting a 4k-emulated (512e) HDD

I just plugged into USB A 3.0 / C 3.1 my new external HDD to Debian Buster system. The disk was sold as LaCie 2.5" Porsche Design P'9227 2TB USB-C. Here is the output of fdisk -l /dev/sdc: Disk /...
2
votes
0answers
158 views

GRUB2 Booting ISO from NTFS partition [duplicate]

I'm trying to boot an ISO containing a Linux live system from an existing NTFS partition on a PC. The PC has UEFI, and the hard disk is partitioned with GPT, so GRUB4DOS is not an option. Can this be ...
0
votes
0answers
36 views

Why can't I see NTFS partitions on a specific drive?

I have a dual boot win10/Fedora29, with 3 internal drives: win10 system (NTFS) fedora system (ext4) data drive (NTFS) I can't see the partitions on the data drive and I can't mount it. I can ...
1
vote
0answers
157 views

On CentOS 7 allow certain users Read & Write to mounted file systems of different types

I have a query around mounting file systems of differing types in such a way that a selection of users have r/w access to them. Here's the scenario. I've rebuilt a media server to Centos 7 minimal ...
1
vote
1answer
38 views

Datarescue with ddrescue location of files

I am recovering a 2TB harddisk with one NTFS partition with ddrescue. Only 300GB of the 2TB are used (mainly photos). My problem is that I have not 2TB availbable on the rescue pc. Can I assume that ...
2
votes
1answer
274 views

Cannot chown, chmod on mounted ntfs partition

I need to mount a ntfs partition and be able to use it with unix file system permissions. The problem is that, when I mount the partition using the following fstab entry, I cannot run chown and chmod ...
1
vote
0answers
133 views

How to enable Trash on NTFS

In Ubuntu 18.10 I can't use the trash on my NTFS partition. When deleting a file Nautilus prompts to permanently remove it. In Solus trash works on this partition. Any ideas how to enable trash or ...
0
votes
2answers
2k views

Wrong fs type, bad option, bad superblock on /dev/sdX [closed]

I am trying to mount a relatively new external HDD but, when running sudo mount /dev/sdc /mnt/harddrive I get the following error message: mount: /mnt/harddrive: wrong fs type, bad option, bad ...
3
votes
2answers
87 views

Is it possible to expect copies of files from ext4 to ntfs filesystems can work equally well as the original?

I am reading about how symlinks created on linux filesystem not work well when copied to NTFS filesystem at https://ubuntuforums.org/showthread.php?t=1497914. Is it possible to copy files of any ...
2
votes
0answers
193 views

Undo effects of running ntfsfix (ntfs-3g) on a Windows exfat partition [closed]

Using Linux I was trying to access an exfat partition that was created using the partition tool in Windows. Due to some improper shutdown issue I was not allowed access. Then I took the brilliant ...
4
votes
2answers
6k views

Cannot mount sda1: “The device '/dev/sda1' doesn't seem to have a valid NTFS.”

I've installed Ubuntu alongside Windows 7. When i try to mount /mnt/sda1 which is Windows part on it, i take error such that; "The device '/dev/sda1' doesn't seem to have a valid NTFS." NTFS ...
0
votes
1answer
206 views

can't format usb storage mounted on /dev/sdb

I have an 8Gb usb storage and lsblk shows it its mounted in /dev/sdb. When trying to: sudo mkfs.ntfs -L "label" /dev/sdb I got: /dev/sdb is entire device, not just one partition. Refusing to make a ...
0
votes
1answer
290 views

Is ext4 filesystem safe? [closed]

I recently had couple of accidents with my disks formatted to etx4. To be honest, I believe the failure was on my side, because one of them was due to incorrect [manual] unmounting of flash card, and ...
0
votes
2answers
59 views

How can I pin a mount folder to a specific serial number, so that the same disk gets mounted in the same place every-time?

I have many hard-disks that need to be mounted on restarts some have have NTFS file-systems other have EXT4, some are USB and some are SATA, some have the same label names, and they don't get mounted ...
0
votes
0answers
58 views

How to delete a git repo with submodule from NTFS partition and then git clone it with submodule initialized?

I tried setting my 2 TB hard drive partition into a NTFS file system, per an answer to an earlier question of mine. I moved a heap of my git repos onto it. Some of my repos have submodules, and ...
-1
votes
1answer
31 views

Cross-platform Filesystem and ACLs for installation on Raspberry Pi

I am deploying NextCloud on my Raspberry Pi. I am stuck on what I know is an inefficient way to design and run a system. Currently the configuration sits on an external drive with ext4 file system. I ...
1
vote
1answer
34 views

Dynamic Drive HotSwapping

Setup is simple. I have a rack-mounted server with 24 5" drive bays in the front. The server runs PLEX. Each HDD is NTFS partitioned and contain optional folders in root. Server is running Debian8 (3....
2
votes
2answers
540 views

List bad blocks and affected files

I made a full disk image from a 4 to 5 year old laptop HDD. That HDD was in a laptop that was carried often to places, so, over the years, it has probably experienced physical stresses to some degree....
1
vote
0answers
207 views

Manually configuring GRUB2 on a bootable USB install media for Windows XP?

I am having a heck of a time trying to make a simple Windows XP installation USB. I am running Ubuntu 16.04LTS, and am attempting to dual-boot install Windows XP Pro X64 on this same machine (using ...
2
votes
1answer
261 views

ddrescue .NTFS file can't open file

I have just rescued an old damaged HDD to my 8TB drive and I've got 1 .IMG file. I then took the 8TB drive to my work Windows 10 machine and used 7-zip to extract the file. Then I got 2 .NTFS files ...
3
votes
1answer
1k views

CentOS 7.4 Samba share access denied

I have set up Samba server on CentOS 7.4 and supposedly allowed it in SELinux. I can successfully access anonymous share on root filesystem but cannot access directories on mounted NTFS partition. In ...
0
votes
1answer
275 views

Does `ntfs` have the concept of hard links?

Does what I describe below sound good? I am thinking about using rsync to backup files under a directory of my Lubuntu laptop to an external hard drive. I also plan to use the rsync option --link-...
1
vote
1answer
96 views

Can't mount external Hard Drive after shrinking partition with parted

I resized the NTFS partition in my external hard drive by shrinking it and then I created a 2nd fat32 partition starting from the end of the 1st partition. I also switched the boot flag from the NTFS ...
1
vote
2answers
448 views

Mouting NTFS drive, no write access

Copying scripts from the previous isntall of Debian for Raspberry. The commant should mount an external NTFS drive to a folder. Before the new install, this command worked: sudo mount -t ntfs /dev/...
1
vote
1answer
37 views

Will permission bits set on a directory on an external hard drive be respected under Windows?

I have an external hard drive, which has a ntfs file system. From output of sudo fdisk -l: Disk /dev/sdb: 931.5 GiB, 1000170586112 bytes, 1953458176 sectors Units: sectors of 1 * 512 = 512 bytes ...
0
votes
1answer
2k views

ls: reading directory '.': Input/output error

xubuntu, NTFS. When I trying to open directory with files: username@username-hp:/media/username/dir1/dir2/music$ la ls: reading directory '.': Input/output error Also if I open the directory with ...
0
votes
1answer
77 views

How to unmount NTFS USB stick in Mate?

I am using the Mate desktop in Debian 9 Stable. I insert a USB stick and then it mounts automatically and opens in the file browser Caja. I know I can unmount it by terminal, using 'umount /media/...