Operation memo to mount NTFS on ubuntu.
Basic Data Partition
- Install ntfs-3g
# apt-get install ntfs-3g
- Add mount configuration
Check UUID of a partition and add following line on
/etc/fstab
UUID={volume UUID} {mount_point} ntfs-3g defaults 0 0
LDM
- Install ntfs-3g and ldmtool
# apt-get install ntfs-3g
- Create device-mapper device on boot time. e.g. Add a systemd unit like
[Unit]
Description=Windows Dynamic Disk Mount
Before=local-fs-pre.target
DefaultDependencies=no
[Service]
Type=simple
User=root
ExecStart=/usr/bin/ldmtool create all
[Install]
WantedBy=local-fs-pre.target
- Add mount configuration
/dev/mapper/ldm_vol_{volume_identifier} {mount_point} ntfs-3g defaults 0 0
Smb
- Install cifs-utils
# apt-get install cifs-utils
- Add mouint configuration
//{file_server_ip}/{access_path} {mount_point} cifs _netdev,username=...,password=...,uid=...,gid=... 0 0
Specify charset of path names
iocharset=utf8