| 1 |
0. Supports |
|---|
| 2 |
As this driver is a beta public review, the features of the driver are limited. |
|---|
| 3 |
- XIMETA Aggregated disks are not supported. |
|---|
| 4 |
- Hibernation, standby are not supported |
|---|
| 5 |
- This driver is a beta until there is no bug report for three months to code.ximeta.com |
|---|
| 6 |
|
|---|
| 7 |
1. Register the NetDisk |
|---|
| 8 |
|
|---|
| 9 |
You can find NDAS "ID" and NDAS "key" from the the bottom of the NetDisk. |
|---|
| 10 |
|
|---|
| 11 |
If your NDAS ID (20 characters) and NDAS key (5 characters) are |
|---|
| 12 |
|
|---|
| 13 |
ID: AF7R2-2MKK4-UHG9S-5RHTG |
|---|
| 14 |
KEY: 8QT6U |
|---|
| 15 |
|
|---|
| 16 |
then execute the following commands. |
|---|
| 17 |
|
|---|
| 18 |
/usr/sbin/ndasadmin register AF7R2-2MKK4-UHG9S-5RHTG-8QT6U --name MyDisk |
|---|
| 19 |
|
|---|
| 20 |
Please note that 'MyDisk' is any name named by you. |
|---|
| 21 |
You will get the numeric slot number(s) for each disk on the NetDisk by |
|---|
| 22 |
|
|---|
| 23 |
cat /proc/ndas/devices/MyDisk/slots |
|---|
| 24 |
|
|---|
| 25 |
check the status of the NetDisk, if you can get the slot number from commands above. |
|---|
| 26 |
|
|---|
| 27 |
cat /proc/ndas/devs |
|---|
| 28 |
|
|---|
| 29 |
Make sure the NetDisk turns on and is attached in the same network. |
|---|
| 30 |
|
|---|
| 31 |
2. To enable the NetDisk, please type the following commands: |
|---|
| 32 |
|
|---|
| 33 |
Use the numeric slot number that you get from /proc/ndas/devices/MyDisk/slots. if you get '1' as the slot number from /proc/ndas/devices/MyDisk/slots then, execute one of the following command. |
|---|
| 34 |
|
|---|
| 35 |
/usr/sbin/ndasadmin enable -s 1 -o w ( exclusive write and read mode ) |
|---|
| 36 |
|
|---|
| 37 |
/usr/sbin/ndasadmin enable -s 1 -o r ( read-only mode ) |
|---|
| 38 |
|
|---|
| 39 |
/usr/sbin/ndasadmin enable -s 1 -o s ( for GFS file system ) |
|---|
| 40 |
|
|---|
| 41 |
This command will print out the path of the block device file. For example, /dev/nda, /dev/ndb, /dev/ndas-001000001:0. |
|---|
| 42 |
|
|---|
| 43 |
Your NetDisk will then have to be partitioned and/or formatted if not already. |
|---|
| 44 |
|
|---|
| 45 |
3. To partition or format, please do the following: |
|---|
| 46 |
|
|---|
| 47 |
WARNING: All data will be erased. |
|---|
| 48 |
|
|---|
| 49 |
# fdisk /dev/nda, |
|---|
| 50 |
# mkfs -t ext2 /dev/nda1 ... |
|---|
| 51 |
|
|---|
| 52 |
Your NetDisk is now ready for use! |
|---|
| 53 |
|
|---|
| 54 |
= Additional Commands = |
|---|
| 55 |
|
|---|
| 56 |
To disable the NetDisk: |
|---|
| 57 |
|
|---|
| 58 |
/usr/sbin/ndasadmin disable -s 1 |
|---|
| 59 |
|
|---|
| 60 |
Note: disable is to make the NetDisk to be disconnected from the Linux machine. especially it will release the exclusively write permission and the other Linux / MS Windows machine can gain the exclusive write permission. |
|---|
| 61 |
|
|---|
| 62 |
To Unregister the NetDisk |
|---|
| 63 |
|
|---|
| 64 |
/usr/sbin/ndasadmin unregister --name MyDisk |
|---|
| 65 |
|
|---|
| 66 |
Note: 'unregister' is to delete the registration so that the NetDisk is not registered in the next booting of Linux machine. |
|---|
| 67 |
|
|---|
| 68 |
Note: The name 'MyDisk' should be the parameter you set on 'register' command. |
|---|
| 69 |
|
|---|
| 70 |
4. Trademark |
|---|
| 71 |
|
|---|
| 72 |
The Linux trademark is a U.S. registered trademark of Linux Torvalds. |
|---|
| 73 |
|
|---|
| 74 |
The Red Hat trademark is a registered trademark of Red Hat, Inc. in the United States and other countries. |
|---|
| 75 |
|
|---|
| 76 |
The Fedora trademark is a registered trademark of Red Hat, Inc. in the United States and other countries. |
|---|
| 77 |
|
|---|
| 78 |
The SuSE trademark is a registered trademark of Novell, Inc. in the United States and other countries |
|---|
| 79 |
|
|---|
| 80 |
All other trademarks and copyrights referred to are the property of their respective owners. |
|---|
| 81 |
|
|---|