• February 26, 2025, 10:47:16 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: volume_1 is actually volume_2  (Read 6003 times)

chuckv

  • Level 2 Member
  • **
  • Posts: 88
volume_1 is actually volume_2
« on: September 08, 2009, 09:17:23 PM »

hi all,

odd scenario (though i am working with it) but thought id bring it up

situation
had 1tb samsung HDD in right bay with no other HDD's present
this was working as volume_1 (as it should have been)

firmware 1.07
today, i purchased a 2nd 1tb HD (western digital)
i had shutdown the box..
removed the right bay..
installed new HDD into left bay
turned on
formatted successfully
shutdown the box
inserted old HDD back into right bay
turned machine back on

next thing you know, the empty HD is now listed as volume_1 (left bay) and visa versa for other drive bay

so i figured i would swap out bays & rebooted
when doing so volume_1 was empty (the new HDD)...
so i swapped again

left bay is now volume_1 in the admin page and visa versa for other drive bay.. the odd thing is

on the network share ... volume_1 (which was already mapped within folders of that share by other PC's) were able to bring volume_1 up .. but that is now volume_2 based on admin page

tho i am working with this .. just flagging it as i dont think this should be the case

current copy & paste from admin page
Total Drive(s):    2
Volume Name:    Volume_1 (new HDD)
Total Hard Drive Capacity:    983454 MB
Used Space:    370522 MB
Unused Space:    612931 MB
Volume Name:    Volume_2 (old HDD with data on it)
Total Hard Drive Capacity:    983454 MB
Used Space:    62169 MB
Unused Space:    921284 MB


please note, used space is changing as i am doing copy from one HD to the other (ffp backup)

is there something wrong with my 323?

cheers
« Last Edit: September 08, 2009, 09:19:01 PM by chuckv »
Logged

Oman

  • Level 1 Member
  • *
  • Posts: 10
Re: volume_1 is actually volume_2
« Reply #1 on: September 09, 2009, 07:52:26 AM »

Mine will do this too.  I have to be very careful when I swap drives (which I do for backup rotation).  I have found that if I leave the left volume in and only swap the right then I can keep it happy.  Otherwise the volume and settings will get totally wonky.

I wish they would settle on a single bay being the master and calling that drive volume_1 and keep the settings there.  Apparently it can use either which means you never really know.


Jon
Logged

mig

  • Level 3 Member
  • ***
  • Posts: 217
Re: volume_1 is actually volume_2
« Reply #2 on: September 09, 2009, 12:03:54 PM »

Apparently it can use either which means you never really know.

Here is a description of how the drives are initialized on the DNS-323, maybe it
will help explain the behavior you are seeing.

In linux, the hard drives are assigned device names based on the order they are
detected on the hard drive controllers.

For the DNS-323 the hard drive controllers are labeled on the circuit board in this photo
http://wiki.dns323.info/_detail/11.jpg?id=start&cache=cache as HDD0 and HDD1.

In a single hard drive configuration, regardless if the drive is attached to HDD0 or HDD1,
the single hard drive will be detected and assigned the device name /dev/sda.  The D-Link
scripts will mount the second partition on the /dev/sda drive to /mnt/HD_a2.  The samba
configuration file is setup to assign a name of 'volume_1' to /mnt/HD_a2.

In a dual hard drive configuration, the hard drive attached to the HDD0 controller will be detected first and assigned the device namd /dev/sda.  The hard drive attached to the HDD1 controller will be detected second and assigned the device name /dev/sdb.  The D-Link scripts will mount the second partition on the /dev/sda drive to /mnt/HD_a2 and the second partition on the /dev/sdb drive to /mnt/HD_b2.  The samba configuration file is setup to assign the name of 'volume_1' to /mnt/HD_a2 and 'volume_2' to
/mnt/HD_b2.

Logged

chuckv

  • Level 2 Member
  • **
  • Posts: 88
Re: volume_1 is actually volume_2
« Reply #3 on: September 10, 2009, 03:36:59 AM »

i completely agree with omen .. consistency is a GREAT thing. keep right bay a certain volume label along with its HD_ whatever. dont like the idea of it changing randomly. to me thats like a HUGE flaw somewhere

tho i do understand what mig is saying, i just wish it wasn't the case

cheers
Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: volume_1 is actually volume_2
« Reply #4 on: September 10, 2009, 05:27:41 AM »

In addition to the "quirks" of linux, you're also looking at "non-standard" usage of the device - it was designed to be a NAS, not a removable media drive.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

rocaddict

  • Level 1 Member
  • *
  • Posts: 17
Re: volume_1 is actually volume_2
« Reply #5 on: September 14, 2009, 06:14:48 AM »

hi all,

odd scenario (though i am working with it) but thought id bring it up

situation
had 1tb samsung HDD in right bay with no other HDD's present
this was working as volume_1 (as it should have been)

firmware 1.07
today, i purchased a 2nd 1tb HD (western digital)
i had shutdown the box..
removed the right bay..
installed new HDD into left bay
turned on
formatted successfully
shutdown the box
inserted old HDD back into right bay
turned machine back on

next thing you know, the empty HD is now listed as volume_1 (left bay) and visa versa for other drive bay

so i figured i would swap out bays & rebooted
when doing so volume_1 was empty (the new HDD)...
so i swapped again

left bay is now volume_1 in the admin page and visa versa for other drive bay.. the odd thing is

on the network share ... volume_1 (which was already mapped within folders of that share by other PC's) were able to bring volume_1 up .. but that is now volume_2 based on admin page

tho i am working with this .. just flagging it as i dont think this should be the case

current copy & paste from admin page
Total Drive(s):    2
Volume Name:    Volume_1 (new HDD)
Total Hard Drive Capacity:    983454 MB
Used Space:    370522 MB
Unused Space:    612931 MB
Volume Name:    Volume_2 (old HDD with data on it)
Total Hard Drive Capacity:    983454 MB
Used Space:    62169 MB
Unused Space:    921284 MB


please note, used space is changing as i am doing copy from one HD to the other (ffp backup)

is there something wrong with my 323?

cheers

I just answered this one (I feel) in this thread:

http://forums.dlink.com/index.php?topic=7927.msg47516#msg47516
Logged