• February 22, 2025, 11:04:30 PM
  • 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.

Pages: [1] 2

Author Topic: EXT2 to EXT3 conversion?  (Read 20707 times)

drick

  • Level 3 Member
  • ***
  • Posts: 270
EXT2 to EXT3 conversion?
« on: May 16, 2009, 08:18:43 AM »

From the release notes:

6. Re-added EXT3 Support.

so it looks like EXT3 has made it back into the 323, but i can't find it anywhere. i assume this option is only available upon new HDD initialization, right?

i did a search for EXT2 to EXT3 conversion on the D-Link forums, but got no hits. doing a web search however implies that this can be done as there are multiple FAQ's and directions on how to do so.

is this something that D Link has looked into, or perhaps could be accomplished via ffp?



« Last Edit: May 16, 2009, 09:51:59 AM by drick »
Logged
DNS-323v1.8 + ffp 0.5
2x750GB Seagate HDD's / RAID1+EXT3
DNS-343A - retired due to faulty fan
DNS-343B - retired due to faulty fan
DNS-343C v1.05b + ffp 0.5
4x2TB Seagate HDD's / RAID5+EXT3
Netgear RNDP6000
6x2TB WD HDD's / RAID6
Netgear WNDR4500

ttmcmurry

  • Level 4 Member
  • ****
  • Posts: 438
Re: EXT2 to EXT3 conversion?
« Reply #1 on: May 16, 2009, 08:43:53 AM »

ECF made this post over in the 321 forum and it makes sense for upgrading drive size.  But I have some questions relating to RAID upgrades since I can't try it out at the moment:

1)  Can you format a single drive as RAID-1 / EXT3?
2)  If not, Can you format a single drive as EXT3, then "upgrade" to RAID-1 without destroying data?

Logged

drick

  • Level 3 Member
  • ***
  • Posts: 270
Re: EXT2 to EXT3 conversion?
« Reply #2 on: May 16, 2009, 09:59:54 AM »

both valid points, and good questions.

i'm not sure how applicable the other post is though as it doesn't mention anything around ext3
Logged
DNS-323v1.8 + ffp 0.5
2x750GB Seagate HDD's / RAID1+EXT3
DNS-343A - retired due to faulty fan
DNS-343B - retired due to faulty fan
DNS-343C v1.05b + ffp 0.5
4x2TB Seagate HDD's / RAID5+EXT3
Netgear RNDP6000
6x2TB WD HDD's / RAID6
Netgear WNDR4500

Arvald

  • Level 3 Member
  • ***
  • Posts: 108
Re: EXT2 to EXT3 conversion?
« Reply #3 on: May 16, 2009, 10:15:28 AM »

I'd like to see being able to create a degraded RAID set.
Most enterprise class systems have this feature.  but that may be the answer in saying "enterprise class"

Why you ask?  well in such a limitted unit as the 323 (meaning 2 bays) having the ability to degrade, put in another drive to copy data then put the old drive back in and rebuild is very handy.

I'd also like to not have to muck around to move data off the drive I have when I upgrade to 2 new disks.
My WD Caviar Black was not meant for this unit but is stuck in there now till I can migrate.

Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: EXT2 to EXT3 conversion?
« Reply #4 on: May 16, 2009, 01:43:40 PM »

I'd like to see being able to create a degraded RAID set.
Most enterprise class systems have this feature.  but that may be the answer in saying "enterprise class"

Why you ask?  well in such a limitted unit as the 323 (meaning 2 bays) having the ability to degrade, put in another drive to copy data then put the old drive back in and rebuild is very handy.

I'd also like to not have to muck around to move data off the drive I have when I upgrade to 2 new disks.
My WD Caviar Black was not meant for this unit but is stuck in there now till I can migrate.



This is not how RAID was intended to be used.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

Arvald

  • Level 3 Member
  • ***
  • Posts: 108
Re: EXT2 to EXT3 conversion?
« Reply #5 on: May 16, 2009, 05:22:01 PM »

RAID is intended to be usable in a degraded state which can include system maintenance.

in higher end hardware raid solutions the disks are not tied to each other and can be separated... the controller does all the work.

I work with SANs (and prior to SAN large scale raid arrays ie 48 disk raid 1+0 arrays) for a living and have plenty experience with them and how they are to be used.
Logged

ttmcmurry

  • Level 4 Member
  • ****
  • Posts: 438
Re: EXT2 to EXT3 conversion?
« Reply #6 on: May 16, 2009, 09:45:26 PM »

The more I think about my question especially in regard to some of the storage solutions used at my workplace, the more I began to realize what a stupid question it was that I asked.

I can't honestly think of an enteprise RAID controller that allows an array to be created with "missing" drives.  Be it a PERC 3/4/5/6 or something by EMC (Cx Series) or Equallogic (5xxx & 6xxx) series.

So my presumption of being able to take a drive out and create a raid-1 array with only one drive is fundamentally flawed. 

However, the possibility of converting EXT2 to EXT3 could still exist.  Remember, the 323 has flash memory onboard and could boot into a "conversion" mode where Volume_1 wouldn't be mounted and a conversion process began.

Seems the easiest thing is to borrow a hard drive of equal size to the 323's current storage, copy everything over with the fixed FTP server, create the array, and format with EXT3. 
Logged

Arvald

  • Level 3 Member
  • ***
  • Posts: 108
Re: EXT2 to EXT3 conversion?
« Reply #7 on: May 16, 2009, 11:56:40 PM »

another option would be to boot a linux live CD on another machine and run the conversion in linux.

I agree with you ttmcmury about wishing for enterprise level features... though we are starting to get close to having them in our homes.  maybe in a few more years.
Logged

ttmcmurry

  • Level 4 Member
  • ****
  • Posts: 438
Re: EXT2 to EXT3 conversion?
« Reply #8 on: May 17, 2009, 03:19:52 PM »

Oh no, I don't want enterprise features in the 323.  It's nice to pay less than $150 for this kind of hardware.

I'm perfectly satisfied with what the 323 does at its price point.
Logged

fordem

  • Level 10 Member
  • *****
  • Posts: 2168
Re: EXT2 to EXT3 conversion?
« Reply #9 on: May 17, 2009, 06:13:29 PM »

ECF made this post over in the 321 forum and it makes sense for upgrading drive size.  But I have some questions relating to RAID upgrades since I can't try it out at the moment:

1)  Can you format a single drive as RAID-1 / EXT3?
2)  If not, Can you format a single drive as EXT3, then "upgrade" to RAID-1 without destroying data?



I haven't tested this yet, but I will most likely take a look at it during this coming week.

In fw 1.05 the ability to migrate a single standard volume to a RAID1 array was added, presumably this still exists, so you should be able to create a single drive ext3 volume, and then, by adding a second drive, migrate to a RAID1, ext3 pair.
Logged
RAID1 is for disk redundancy - NOT data backup - don't confuse the two.

drick

  • Level 3 Member
  • ***
  • Posts: 270
Re: EXT2 to EXT3 conversion?
« Reply #10 on: May 17, 2009, 08:19:28 PM »

Oh no, I don't want enterprise features in the 323.  It's nice to pay less than $150 for this kind of hardware.

I'm perfectly satisfied with what the 323 does at its price point.

agreed.

think of it this way. 2 years ago, maybe a year ago you couldn't get this much functionality at 3x the price.

IMHO this is very similiar to Moore's law. 2 years from now, we will all have RAID10 / RAID6 devices with 2TB+ HDD's at the same cost as this unit, and that is goodness.

if you want all the rest of the features you mentioned, go with EMC as you mentioned above, but bring your checkbook.
Logged
DNS-323v1.8 + ffp 0.5
2x750GB Seagate HDD's / RAID1+EXT3
DNS-343A - retired due to faulty fan
DNS-343B - retired due to faulty fan
DNS-343C v1.05b + ffp 0.5
4x2TB Seagate HDD's / RAID5+EXT3
Netgear RNDP6000
6x2TB WD HDD's / RAID6
Netgear WNDR4500

drick

  • Level 3 Member
  • ***
  • Posts: 270
Re: EXT2 to EXT3 conversion?
« Reply #11 on: May 17, 2009, 08:20:43 PM »

back to the subject at hand, aside from drive swapping idea is there any other way to do this?

does anyone think that i could run the linux ext3 convert commands from ffp successfully?
Logged
DNS-323v1.8 + ffp 0.5
2x750GB Seagate HDD's / RAID1+EXT3
DNS-343A - retired due to faulty fan
DNS-343B - retired due to faulty fan
DNS-343C v1.05b + ffp 0.5
4x2TB Seagate HDD's / RAID5+EXT3
Netgear RNDP6000
6x2TB WD HDD's / RAID6
Netgear WNDR4500

ttmcmurry

  • Level 4 Member
  • ****
  • Posts: 438
Re: EXT2 to EXT3 conversion?
« Reply #12 on: May 17, 2009, 09:28:08 PM »

drick--

You bring up a good point.  While I had no trouble with ffp being installed during an upgrade from 1.06 -> 1.08, is everyone else seeing the same?  Does D-Link test out upgrades with fun_plugs installed?  I'm sure the official answer is "that's unsupported"

When I upgraded, I made sure to chmod -x several .sh scripts that might interfere with an upgrade-- namely starttwonky.sh, cleanboot.sh, lighttpd.sh, and mysqld.sh.

I got to thinking and checked for tune2fs and it is installed by default with this firmware (at least I didn't see where it was part of ffp 0.5) and you can look it up on the web for some how-tos regarding filesystem conversion.  I'm a bit worried about playing around with it for the time being.  Fordem-- perhaps this is up your alley. :)

On a separate note, what did I do to get TWO -1s today?   ???
« Last Edit: May 17, 2009, 09:55:33 PM by ttmcmurry »
Logged

ttmcmurry

  • Level 4 Member
  • ****
  • Posts: 438
Re: EXT2 to EXT3 conversion?
« Reply #13 on: May 17, 2009, 10:02:56 PM »

I came across this article.  So, for those of us with ffp, we can borrow tenets from the idea ECF had in another post and if someone is willing to test it out:

1)  Label both drives so you know what bay they came from
2)  Test out each drive individually to ensure there is data on both
3)  (hazy part) put the right drive back in (could be left?)
4)  Use the methods in the above article to create a new raid-1 with a missing drive and format it ext3
5)  Make sure auto rebuild is disabled
6)  Put the left drive back in & mount it
7)  (hazy part) Copy the data to the new volume
8)  Use the methods in the article to join the 2nd drive to the array and format that ext3
9)  Allow RAID-1 replication to propogate

What I don't know would happen when an ext2 volume that's set to have its replication partner in the opposite bay suddenly appears.. would it mount.. what would the ext3 volume do since it was created with a missing disk?  Guessing that's where /dev/md0 /dev/md1 etc comes into play..

If I had two spare sata drives laying around I'd try it out myself. Perhaps I can go hunting for spare parts at work. :-D
« Last Edit: May 17, 2009, 10:05:50 PM by ttmcmurry »
Logged

drick

  • Level 3 Member
  • ***
  • Posts: 270
Re: EXT2 to EXT3 conversion?
« Reply #14 on: May 18, 2009, 10:00:32 AM »


On a separate note, what did I do to get TWO -1s today?   ???

wasn't me, i don't even know what those are or how to "assign" them.
Logged
DNS-323v1.8 + ffp 0.5
2x750GB Seagate HDD's / RAID1+EXT3
DNS-343A - retired due to faulty fan
DNS-343B - retired due to faulty fan
DNS-343C v1.05b + ffp 0.5
4x2TB Seagate HDD's / RAID5+EXT3
Netgear RNDP6000
6x2TB WD HDD's / RAID6
Netgear WNDR4500
Pages: [1] 2