Question & Answer
Question
How do I set up NTFS (New Technology File System) on NPS?
Answer
The required RPM can be found on the Linux OS installation CD. The file name is as follows:
- kernel-module-ntfs-2.6.18-128.1.1.el5-2.1.27-0.rr.10.11.x86_64.rpm
1. As root, run the following command to install the rpm:
- rpm -ivh kernel-module-ntfs-2.6.18-128.1.1.el5-2.1.27-0.rr.10.11.x86_64.rpm
2. Run the following command to load the module:
- insmod /lib/modules/2.6.18-128.1.1.el5/kernel/fs/ntfs/ntfs.ko
3. Confirm that the module works:
- grep ntfs /proc/filesystems
4. Mount the ntfs usb. You must specify the name of the USB and the path to the mountpoint.
- mount -t ntfs /dev/usbdevice /path/to/mountpoint
Using ntfsmount
Once you have the fuse (filesystem in userspace) module installed (and of course, ntfsprogs too), do the following:
1. Create a directory to which you will mount your volume:
- mkdir /mnt/c
2. Mount your volume:
- ntfsmount /dev/hda1 /mnt/c
You can adjust the mount options as needed. Refer to the ntfsmount man page for a list of all options.
Mounting via fstab
Netezza strongly recommends that you use the latest version of ntfsprogs because this simplifies mounting via fstab. If you are using ntfsprogs-2.0.0 or later, mount by adding a line similar to the following in the /etc/fstab file:
- /dev/hda1 /mnt/c fuse.ntfs locale=en_US.utf8 0 0
Specifying the locale is only needed on some misconfigured distributions where auto-detection does not work correctly, and if you are using non-English filenames.
To find out the exact locale that your system is using, run one of the following commands at the terminal prompt:
- echo ${LC_ALL}
- locale
Use the output to replace “en_US.utf8” in the example.
[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Historical Number
NZ731380
Was this topic helpful?
Document Information
More support for:
IBM PureData System
Software version:
1.0.0
Document number:
197445
Modified date:
17 October 2019
UID
swg21578074