• April 23, 2024, 11:17:44 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.

Pages: 1 [2]

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

drick

  • Level 3 Member
  • ***
  • Posts: 270
Re: EXT2 to EXT3 conversion?
« Reply #15 on: May 18, 2009, 02:34:27 PM »

just scrounged up 2 more HDD's, and started the install (saving the upgrade trial for a rainy day).

ext3 shows up after the RAID selection as was suggested.
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

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: EXT2 to EXT3 conversion?
« Reply #16 on: May 18, 2009, 04:24:21 PM »

It would be interesting to have someone mount their drives as soft raid drives on a Linux PC and do the manual conversion, it takes like 30 seconds to do the conversion in Linux, and since it is not going to be a system partition there are no weird scenarios.

http://www.troubleshooters.com/linux/ext2toext3.htm

P.S. This should be done at your own risk, don't mess around with data you can't replace.


*** Modified by Fatman upon realizing we live in a litigious society 2 seconds after posting.
Logged
non progredi est regredi

ttmcmurry

  • Level 4 Member
  • ****
  • Posts: 438
Re: EXT2 to EXT3 conversion?
« Reply #17 on: May 18, 2009, 04:47:57 PM »

I was trying to do this with two spare 40GB drives and my 323, but ffp won't install on 1.08. 

Did you guys remove that architecture?


I should be smited for that.  After taking out my contacts and replacing them with my glasses, I realized the error between my ears--

Anyhow I'm working on a EXT2->EXT3 migrate path with fallback plan. 
« Last Edit: May 18, 2009, 04:59:38 PM by ttmcmurry »
Logged

drick

  • Level 3 Member
  • ***
  • Posts: 270
Re: EXT2 to EXT3 conversion?
« Reply #18 on: May 18, 2009, 04:49:03 PM »

It would be interesting to have someone mount their drives as soft raid drives on a Linux PC and do the manual conversion, it takes like 30 seconds to do the conversion in Linux, and since it is not going to be a system partition there are no weird scenarios.

http://www.troubleshooters.com/linux/ext2toext3.htm

P.S. This should be done at your own risk, don't mess around with data you can't replace.

i just keep thinking that someone has already done this for ffp which would eliminate the need to move drives in and out of the 323 which would be ideal.

i'll post it over there and see what they say.
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 #19 on: May 18, 2009, 04:50:26 PM »

I was trying to do this with two spare 40GB drives and my 323, but ffp won't install on 1.08. 

Did you guys remove that architecture?

it's still there, i just did it 30m ago with 1.08

make sure you save the ffp script & binaries directly to the 323 not anywhere else (i.e. to a windows machine) and then copy/move them to the 323.

windows steps on them and corrupts them, figured that one out the hard way
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 #20 on: May 18, 2009, 08:36:58 PM »

I was able to successfully upgrade from ext2->ext3 on my 323.  Here's what I did:

1)  Have ffp 0.5 installed & configured with telnet access & the root account
2)  Disable *all* ffp & startup scripts with the exception of telnetd.sh
3)  Shutdown and take out the RIGHT drive
4)  Run tune2fs against /dev/md0 & reboot
5)  Run tune2fs against /dev/sdb2 (or whatever it is on your 323) & reboot
6)  Verify your (test) data is intact and that the mount still works with RW privileges
7)  If successful, you can shutdown and reinsert the RIGHT drive
8)  Depending on your settings, it will either auto rebuild or wait for you to activate the rebuild

Then wait for it to rebuild the array.  There is no need to mess around with /etc/fstab.

The only real issue I noticed was when i deliberately forced a drive to fail (mdadm /dev/md0 --fail /dev/sda2) and checked it (mdadm --detail /dev/md0), it showed failed status as it should have.  The GUI also showed degraded status.  HOWEVER -- the drive lights remained blue and showed no visible sign of failure. 

PS:  don't try tune2fs againse /dev/root  .. just a piece of advice :)
« Last Edit: May 18, 2009, 08:43:35 PM by ttmcmurry »
Logged

drick

  • Level 3 Member
  • ***
  • Posts: 270
Re: EXT2 to EXT3 conversion?
« Reply #21 on: May 19, 2009, 06:57:18 AM »

nicely done!

i wish i could have tried this, but i went the easy route and just used new drives.  ;D
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 #22 on: May 19, 2009, 07:53:04 PM »

Yeah I have mixed feelings about converting.... whoopty-doo it can be done.. but until thousands of these have been successfully performed and have proven to be stable through multiple raid degredations (is that a word?) as well as through various filesystem issues & repairs... THEN I'd do it with my real data.

So-- I don't see D-Link going down this path even though it is possible.  It doesn't make much sense for them to introduce a "risky" feature since it hasn't been thoroughly tested and they would catch a lot of flak for every failed conversion. 

This is not as easy/supported as on Windows a-la convert.exe /fs:xxxx - which i've used hundreds of times over the years going from every format it supports. 
Logged

amichel

  • Level 1 Member
  • *
  • Posts: 3
Re: EXT2 to EXT3 conversion?
« Reply #23 on: June 01, 2009, 09:31:31 AM »

Hi all,
so I migrated my data following the instructions by ttmcmurry adn all went fine.
However when looking at the details using dmesg I get this message.

 ext2_fill_super: mounting ext3 filesystem as ext2

Which showed me this solution http://forum.dsmg600.info/t3202-WIERD-ext3-issue.html
Is there a still a need to mess around with fstab in firmware 1.08?

EDIT:
Actually after implementing the tip in the above article I was able to mount the Array with ext3.
fonz fschk works fine on the array

amichel
« Last Edit: June 01, 2009, 10:21:11 AM by amichel »
Logged
Pages: 1 [2]