to re-partition the disk do the following
example for disk sdb
Connect via ssh
unmount the disk
- Code: Select all
umount /share/1001
When this succeed give command
- Code: Select all
fisk /dev/sdb
It will connect to the disk and answer with
- Code: Select all
Command (m for help):
Behind this line type "m" (without the quotes) if you want to see what commands are possible
Now delete the partitions that are present
Give command
- Code: Select all
d
and answer the questions asked by the program
with the command "p" you can see if the partition is gone or not.
When it is gone the create a new one
use command
- Code: Select all
n
it will as several questions like
if it is a primary partition or extended, choose primary
which partition number to use, choose 8
start cylinder, choose as value 400
end cylinder, accept the default
which file system to use, choose 8300 (linux file system) which is the default offered
Now enter the command "p" to list the new table
It should now list something like this
- Code: Select all
Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb8 1 243200 1950226740 83 Linux
root@nwsp2-3:/ #
now write it to disk using the command
- Code: Select all
w
If you forget these step and leave fdisk without writing it to disk then the new partition table is not saved and the old one will be used instead.
If you have successfully made the partition then format in ext3 format using this command
- Code: Select all
mke2fs -j -m 1 /dev/sdb8
(this will take some time...)
repeat for disk sdc, sdd and sde
to unmount those use respectively
- Code: Select all
umount /share/1002
umount /share/1003
umount /share/1004
and use the other commands as explained for sdb by replacing sdb by sdc etc ..
before rebooting we need to replace the nas database file again so that it uses the partitons sdb8, sdc8, sdd8 and sde8 for mounting
attached the new database to use. Install it by overwritten the existing one in /rw_fs/etc
nas_conf_db-5big1--tatae-sdx8-6nov13.zip
Why we use sda8 is to make it possible to use the disk later as a system disk. That will require creating additional partitions.
You do not have the required permissions to view the files attached to this post.