sda & sdb formating

32 views
Skip to first unread message

d.i.saunders

unread,
Mar 19, 2016, 10:15:28 AM3/19/16
to Alt-F

Hi all,

New to this so might have missed something simple.
Flashed a DNS-320-A1 with Alt-f, all working well, apart from one issue..

I have 2 x 1.5TB drives installed installed using raid 0.. All seems to be OK, the volume it 2.7TB just like it was on the stock firmware.. Shares are working fine under windows, all is good..

Leaving 1397MB on each drive.. (again the same as the stock firmware)  I planned to format these and combine in to a single drive.. I clicked to format them, and its been doing it now for over 4 hours.. 

The 2.7TB format much faster, maybe it skipped the surface check?

 Is it just doing a full format on the smaller drive?

Thanks in advance..



sda1397.3GBformating...
sdb1397.3GBformating...

João Cardoso

unread,
Mar 19, 2016, 11:27:35 AM3/19/16
to Alt-F


On Saturday, 19 March 2016 14:15:28 UTC, d.i.saunders wrote:

Hi all,

New to this so might have missed something simple.
Flashed a DNS-320-A1 with Alt-f, all working well, apart from one issue..

I have 2 x 1.5TB drives installed installed using raid 0.. All seems to be OK, the volume it 2.7TB just like it was on the stock firmware.. Shares are working fine under windows, all is good..

Leaving 1397MB on each drive.. (again the same as the stock firmware)

During the initial setup (Disk->Wizard) you have keeped the default "Don't touch my disks in any way" option checked. So Alt-F did not partition the disks itself and just used what it founds. i.e, the D-Link partition schema with one/two big areas/partitions (sda2/sdb2) and two small partitions for D-Link own usage.

 
 I planned to format these and combine in to a single drive..

That is where you made a mistake, you mixed the "drive" (the whole disk) with the "partition" (a disk area) concepts. As the Disk Partitioner on line help says (the blue (?) icon next the page title):

A hard disk can be seen as a numbered sequence of sectors, each one with 512 consecutive bytes.
A disk can be divided, for different purposes, in different zones, with each zone being called a partition.
...
 After partitioning a disk you have to create a filesystem in each partition; a filesystem is only a disk structure that enables you to access its contents, using directories and files.
A partition can be used for other purposes than having a filesystem, such being part of a RAID array, a swap area, a LVM component, etc. That's why each partition has associated with it a type, saying what purpose it has. The partition type does not avoid its usage for other purposes, it is only an indication for disk tool and operating system of what its contents might be; for the sake of data safety, disk tools should not modify partitions whose type they don't understand.
 
So, sda is the *whole* disk, sda1 is it first partition, sda2 the second partition, etc. A whole disk or a disk partition is a "device". A device can contain a filesystem, that manages your data, or be part of another device, such as a RAID device.

I clicked to format them,

In which webUI were you what did you exatly click?

and its been doing it now for over 4 hours.. 

The 2.7TB format much faster, maybe it skipped the surface check?

 Is it just doing a full format on the smaller drive?

Thanks in advance..



sda1397.3GBformating...
sdb1397.3GBformating...

You are formatting the whole disks, sda and sdb (1397GB, so ~1.5TB), not only the small 1397MB areas that you referred previously (that would probably be called sda4/sdb4). All your previous filesystem and data on the RAID0 (and the RAID0 itself) was lost.
 
I hope that you have a backup, as there is nothing now that you can do to remedy that.

d.i.saunders

unread,
Mar 19, 2016, 11:32:03 AM3/19/16
to Alt-F
Thanks for the reply... 

I did use the wizard to create partition... But the rest of the reply explains where i have gone wrong..

Yes the data is all backed up..  :)

Many thanks for the reply..


On Saturday, 19 March 2016 15:27:35 UTC, João Cardoso wrote:


On Saturday, 19 March 2016 14:15:28 UTC, d.i.saunders wrote:

Hi all,

New to this so might have missed something simple.
Flashed a DNS-320-A1 with Alt-f, all working well, apart from one issue..

I have 2 x 1.5TB drives installed installed using raid 0.. All seems to be OK, the volume it 2.7TB just like it was on the stock firmware.. Shares are working fine under windows, all is good..

Leaving 1397MB on each drive.. (again the same as the stock firmware)

During the initial setup (Disk->Wizard) you have keeped the default "Don't touch my disks in any way" option checked. So Alt-F did not partition the disks itself and just used what it founds. i.e, the D-Link partition schema with one/two big areas/partitions (sda2/sdb2) and two small partitions for D-Link own usage.

No, I used the Wizard to create new pa
Reply all
Reply to author
Forward
0 new messages