With what version of windows are you working with? XP, Vista, W7?
With dlink's firmware you might be used to see the DNS in the windows explorer
as a uPNP device, together with your printer and disk, but for Alt-F you have
to search the network (network neighbouring?)
Yes, there might be some caching involved, but that is not the issue.
But I don't use windows that much, so I ask someone to help TKenny here.
And, you have saved settings, haven't you?
After creating a user, and yes, you *have* to create a user in order for the
shares to be available, you have to save settings.
Go to Services->Network->smb->configure->advanced, login as user "root" (no
quotes), passwd is the same as for the web pages login, hit the "Shares" item,
select the Users Share, hit Choose Share, browse for Miscellaneous, and see if
available is "yes".
Or, if you dare using the command line, telnet or ssh the box as user root,
then issue the following command:
grep available /etc/samba/smb.conf
It should report available = yes several times
You can also type the following command:
smbtree -N
and you will see all you network computers and shares. There is an equivalent
windows command line, "net something"...
...
> so I flashed the alt-f firmware for real again.
Flashing back and forth is not going to help you, and you increase the
probabilities that anything runs bad.
> > BTW, what is the maximum size of drive I can use with this firmware?
In principle, any size. A user reported that he using 1.5TB disks.
0.1B6 had a problem in the Disk Partitioner page with 1.5TB or 2TB disks, see
the site issues page, all issues, but B6+ has that issue fixed (at least
nobody complained, I don't have disk of that size)
There was also a problem with windows not reporting correctly the size of the
disks, for 2TB disks, but I believe that B6+ also has that fixed.
> > I hear I can add a USB drive and get RAID 5.
> > A set of 3TB drives in
> > RAID 5 and I'd be a very happy man.
A user has already reported success with that configuration.
> > I am about to format some 4k drives in the meantime, will it just
> > format on a 4k boundary for me or do I have to do anything special?
Alt-F formats in 4k boundaries by default, you don't have to do nothing
special.
If you are not going to use the Disk Wizard, that will format *all* your
disks, but will be using the Disk Partitioner instead, don't forget to create
at least one swap partition, 500MB is OK.
In the Advanced view you can tune/trash the partitions start sector at your
will.
--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To post to this group, send email to al...@googlegroups.com.
To unsubscribe from this group, send email to alt-f+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/alt-f?hl=en.
The recommended procedure in case a drive fails is to remove the
failed drive from the array (Alt-F has tools for that Can you explain ? with something like Setup->RaiD -> .. Blablabla example in bash : mdadm /dev/md0 -r /dev/sd[ab]2), than remove
the disk from the box, insert a new disk, copy the partition table
from the good drive to the new drive (Alt-F also has tools for this Can you explain ? with something like Setup->RaiD -> .. Blablabla example in bash : using fdisk ),
and than add the new disk raid partition to the degraded disk (Alt-F
also has tools for this Can you explain ? with something like Setup->RaiD -> .. Blablabla example in bash : mdadm /dev/md0 -a /dev/sd[ab]2). RAID rebuild will then start automatically.
[This should be under a new topic... will see if it can be done later]
[Comments, additions and corrections to my own previous post]
=== Outline procedure to repair a degraded RAID1 array
The recommended procedure in case a drive fails and the array becomes degraded
is to remove the failed disk from the array, than remove the disk from the
box, insert a new disk of same size, copy the partition table from the good
drive to the new drive, and than add the new disk raid partition to the
degraded disk. RAID rebuild should then start automatically.
Having a RAID1 in degraded state is not worse than having a standard disk, you
can work and use it normally, it is degraded just because it does not provide
any redundancy, i.e., it is not RAID anymore.
1-Disk->RAID, under "Component Operations" select the "Partition" from the
failed disk that you want to remove, then again under "Component Operations"
select "Operation" Remove. The RAID will turn to degraded mode.
2-Disk->Utilities->eject the failed disk
3-Remove the failed disk from the bay
4-Insert new disk, same size as previous
5-Disk->Partitioner, under "Partition Table", in the old disk line select
"CopyTo" the new disk.
6-Disk->RAID, under "Component Operations", Partition, select new disk
partition, then under "Component Operations", "Operation", Add
7-Rebuild will start. You can use the RAID while it happens.
> === Outline procedure to upgrade a "standard" disk layout to RAID1.
Should be: Outline procedure to upgrade a "standard" disk layout to RAID1
using a new disk with the same capacity as the older one.
> The recommended procedure to upgrade a "standard" disk layout to RAID1
> is to create a RAID1 array in degraded mode with the new disk, copy
> all data from the old disk to the new degraded array, then repartition
> the old disk to RAID and add it to the new array.
> 1-remove the old disk
Should be:
1A-Disk->Utilities->eject disk
1B-remove the old disk
> 2-insert the new disk
> 3-Disk->Wizard, select RAID1, abracadabra.
> 4- Disk->RAID, start array, if not already started, verify it is
> started in degraded mode and is available (mounted)
> 5-insert old disk, verify it's available
> 6-Setup->Directories, select old disk directory, hit Copy, select
> raid directory, Paste. This might take several hours...
> 7-verify the data is OK in the still degraded raid.
Add: in the next step your original data will be erased.
> 8-Disk->Partitioner, "Partition Table", use copyTo from new disk to
> old disk
Add: Remember, disks must be of equal capacity.
> 9-Disk->RAID, "Component Operations", Partition, select old disk
> partition, Operation, Add
> 8-Wait for rebuild.
>
> (*) Be careful here, the new disk should have the same size as the
> old one. The most common is the new disk to be bigger than the old
> one, so a lot of space will be wasted using the copyTo method. If they
> are not equal, after the copyTo do manual adjustments to the partition
> table. In this scenario, create a new partition with the free space,
> keeping the other partitions untouched.
This is obviously the other way around.
The problem is that for RAID all disk partitions that make the array (the
components) must all have the same size (within 1%)
When the new disk is bigger than the old one, you have to partition it using
the Partitioner, not the Wizard.
=== Outline procedure to upgrade a "standard" disk layout to RAID1 when the
new disk is bigger than the old one.
0-Disk->Partitioner, take note of the size of the partition that holds the
data.
1A-Disk->Utilities->eject disk
1B-remove the old disk
2-insert the new disk
3A-Disk->Partitioner, under "Partition Table", "Operation", select Erase
3B-when it completes, uncheck all "Keep" checkboxes
3C-Enter 0.5 as the size of the first partition and set its "Type" to Swap
3D-In the "Size" of the second partition enter the size you take note in step
0, and set the partition "Type" to RAID
3E-Set the third partition (the reminder of the disk) to "Type" linux -- it
will be a standard disk, you can use it for whatever purpose.
3F-hit the "Partition" button. After it completes,
4- Disk->RAID, start array, if not already started, verify it is
started in degraded mode and is available (mounted)
5-insert old disk, verify it's available
6-Setup->Directories, select old disk directory, hit Copy, select
raid directory, Paste. This might take several hours...
7-verify the data is OK in the still degraded raid. The next step will destroy
the data in the old disk.
8-Disk->Partitioner, select old disk, uncheck the partition where your data
was stored and change its "Type" to RAID. The "Size" should be kept the same.
Hit the "Partition" button.
9-Disk->RAID, "Component Operations", "Partition", select old disk partition,
"Operation", Add
10-Wait for rebuild.
> You, the users, are my Q&A department -- does anyone want to try the
> procedure using two old spare disks that you certainly have in the
> shelf behind you?
I meant QA, Quality Assurance, not Q&A, Questions and Answers
I could put the above procedures in the Wiky, but only after having
independent review and confirmation that is works as said.
If you prefer to work using the command line, there are several sites that
provide that information, you can use it. After all Alt-F is linux and has the
standard linux tools for the task.
Good it runs fine.
There is a pre-requisite that I forgot to write, and I'm going to do it now
loud and clear:
THE INSTRUCTION GIVEN UNDER THIS TOPIC ARE ONLY VALID IF YOU HAVE
-ONLY ONE DATA FILESYSTEM IN YOUR DISK ( to upgrade "standard" disk to RAID1)
-ONLY ONE RAID DEVICE (to fix a degraded RAID1)
The first is valid for most users that have formatted their disks with a
"standard" layout using dlink's firmware, that creates a sda2 partition with
ext2 or ext3.
However the second assumption might not be valid for some users that have
created a RAID1 array not using all disk capacity; in that case, dlink's
firmware creates a JBOD (RAID level -1 or linear, i.e., not RAID) using the
remaining disk space.
In those cases, the procedure to fix a degraded RAID1 array is still valid,
but all data stored in the JBOD disk will be destroyed.
If the RAID1 degraded state occurred because of a failed disk, then the data
stored in the JBOD would be already compromised anyway.
> Only issues I had with your instructions:
>
> 6-Setup->Directories, select old disk directory, hit Copy, select
> raid directory, Paste. This might take several hours...
>
> I did what I thought this said, and the only problem I noticed was
> that it wanted to put everything in a folder with the same name as the
> source. So for example if I tried to copy "/mnt/sdb2" into /mnt/md0",
> through "Setup->Directories" then I noticed that everything was going
> into "mnt/md0/sdb2".
Yes, you are right, my fault.
> I didn't think this is what I wanted so I did the
> copy in telnet instead with "cp /mnt/sdb2/* /mnt/md0 -R".
Much simpler :-)
You should use "cp -a", as -a (archive) preserve ownership, permissions,
dates...
> 9-Disk->RAID, "Component Operations", "Partition", select old disk
> partition,
> "Operation", Add
>
> I left the "Operation" dropdown unselected. Your instructions didn't
> mention it, but when I looked at the options, none made much sense to
> I did it without selecting anything. I was a little worried though.
It should be:
9-Disk->RAID, under "Component Operations", "Partition", select old disk
partition, then again under "Component Operations", "Operation", Add
If you now have a non-degraded RAID1, without selecting the Add Operation
under Component Operations than rebuilding had started automatically.
>
> so... RAID1 is up and running after many hours of building. Thanks!
I think that the wizard creates RAID1/5 with "write intent bitmap" active.
It provides much faster resyncing/rebuilding in case of small problems.
You can verify that it is active in: Disks->RAID, under "RAID Operations", if
a "Remove Bitmap" option appears, than the intend-bitmap is already active,
don't remove. If a "Create Bitmap" appears, than it is not active and you can
select it. Takes only a couple of seconds.
> At the risk of going further off topic, can I start a RAID5 array from
> a RAID1 or do I need to "unbuild" the RAID1 and then do something
> similar to your process above to get to RAID5? I'm not planning this
> right away, but I thought it might be interesting to know what I can
> get away with when the time comes.
A RAID1 can be upgraded to a RAID5.
There will be allot of data movement during the process, and we all must be
aware to the fact that RAID5 rebuilding with mostly full TB sized disks can
attain the disk read error rate specification. If such errors occurs during
the rebuilding, data will be compromised:
http://www.tomshardware.com/news/RAID-5-Doomed-2009,6525.html
For large disks the rebuilt process can take DAYS - meanwhile you are at the
mercy of a second disk failing - at which point it's game over.
If you bought your disks at the same time and from the same manufacturer, then
most probably they are from the same fabrication lot, which means that after
one disk fails, the probability of the other also failing increases.
> Thanks
Thanks for trying and for the report.
On Mar 10, 3:22 pm, Joao Cardoso <whoami...@gmail.com> wrote:
> === Outline procedure to upgrade a "standard" disk layout to RAID1 when the
> new disk is bigger than the old one.
At which point do we set the partition type (ext2/3/4) of the new and
old disks?
Also, I would like to use ext4, so I need to flash my box. But imagine
I decide to go back to D-Link firmware, ext4 is not recognized. Is
there a way I could keep a little raid **ext3** partition (recognized
by DLink firmware), to keep ffp with a ssh binary just in case, and be
sure that that ext3 would be picked up by D-Link firmware as the
partition to look for a fun_plug file? Well, in fact I'm not even sure
if what I trying to do makes sense and would be of any help, but
anyway, what are your feelings?
Thanks
And, is there any other "official" (and clean) place where those
procedures are located?
> At which point do we set the partition type (ext2/3/4) of the new and
> old disks?
I went to Disk / Filesystem and on md0 which had a FS of none, I did a
format operation with ext4 FS. It looks like it completed. md0 is
still only sda2 (I still did not copy my data over new disk). The
problem I have is that I am not able to mount md0
and no Filesystem
maintenance checking, which could prevent mounting it if I understand
correctly, seems to be running if I look in that page or on the status
page.
I'm really wondering that I did not (maybe because it's not in the
procedure) do things properly because otherwise things should work.
> > And, is there any other "official" (and clean) place where those
> > procedures are located?
>
> Any RAID related site has that info. Ubunto has some good howto.
What I meant is maybe we should put thoses procedure in a place, maybe
a wiki, on the alt-f site. I looked to do this myself, but it looks
like the alt-f wiki is not open to public changes.
On Apr 11, 2:08 pm, Joao Cardoso <whoami...@gmail.com> wrote:
> On Monday, April 11, 2011 6:04:31 AM UTC+1, bobcote wrote:
>
> > > At which point do we set the partition type (ext2/3/4) of the new and
> > > old disks?
>
> > I went to Disk / Filesystem and on md0 which had a FS of none, I did a
> > format operation with ext4 FS. It looks like it completed. md0 is
> > still only sda2 (I still did not copy my data over new disk). The
> > problem I have is that I am not able to mount md0
>
> What did you do?
On the Filesystem Maintenance page, for md0, I choose in "New FS
Operations" ext4 FS and format operation. After the formatting
completed, in "FS Operations" I choose "Mount", but nothing happens.
> Or the filesystem is automatically mounted, or you have to mount itself,
It is not mounted automatically, and I can't mount it manually with
the drop-down list of operations.
> After you format md0 with ext4, it appears in the Disk->Filesystem, now with
> a ext4 FS?
Yes
> If you tried 'Mount' and still it is not mounted, then checking the fs might
> have failed, go to System->Utilities->Logs, and see the "System Log" and
> look for start/finishing md0; it should say if it succeed or failed.
Weird, I have nothing else in that file other than an "infinite" list
of:
Apr 11 10:26:45 zebrick user.notice hot: md0 waiting to be fscked
Apr 11 10:26:54 zebrick user.notice hot: md1 waiting to be fscked
Apr 11 10:26:55 zebrick user.notice hot: md0 waiting to be fscked
Apr 11 10:27:04 zebrick user.notice hot: md1 waiting to be fscked
Apr 11 10:27:05 zebrick user.notice hot: md0 waiting to be fscked
Apr 11 10:27:14 zebrick user.notice hot: md1 waiting to be fscked
Apr 11 10:27:15 zebrick user.notice hot: md0 waiting to be fscked
Apr 11 10:27:24 zebrick user.notice hot: md1 waiting to be fscked
Apr 11 10:27:25 zebrick user.notice hot: md0 waiting to be fscked
Apr 11 10:27:34 zebrick user.notice hot: md1 waiting to be fscked
Apr 11 10:27:35 zebrick user.notice hot: md0 waiting to be fscked
Apr 11 10:27:44 zebrick user.notice hot: md1 waiting to be fscked
Apr 11 10:27:45 zebrick user.notice hot: md0 waiting to be fscked
Apr 11 10:27:54 zebrick user.notice hot: md1 waiting to be fscked
Apr 11 10:27:55 zebrick user.notice hot: md0 waiting to be fscked
Apr 11 10:28:04 zebrick user.notice hot: md1 waiting to be fscked
Apr 11 10:28:05 zebrick user.notice hot: md0 waiting to be fscked
> > I'm really wondering that I did not (maybe because it's not in the
> > procedure) do things properly because otherwise things should work.
> OK, I will take a look at the procedure, but it seems you did it right.
So, for the formatting to ext4, if I look to the procedure, am I
correct if I say that it should be between 3F (after partitioning) and
4 (before starting the raid array)?
And what about my /dev/sdb2 being of unknown type with "da" ID instead
of being "Linux raid autodetect" with ID of "fd"? Is it normal ?
Thank you
Well, I was getting tired of not being sure if having a not flashed
Alt-F had anything to do with my problems, so I took my courage ;) and
flashed my dns-323.
First observation, my degraded raid1 /dev/md0 is still not mounted on
boot.
Manually Trying mounting it by command "mount /dev/md0" gave me
"mount: can't find /dev/md0 in /etc/fstab". That's right, /dev/md0 is
not in fstab !! Why?
So I edited /etc/fstab and added the line: "/dev/md0 /mnt/md0 ext4
defaults 0 2". After saving the file mounting it manually is working,
but trying to mount it with the web ui is still failing! Why?
I also added that "if test -z "$inclean"; then break; fi" line you
told me to add in "/usr/sbin/hot_aux.sh".
I saved settings with the web ui and rebooted.
My md0 line in fstab
and the line in hot_aux.sh are not there anymore! Why?
And obviously my system.log is still full of:
Apr 12 20:09:10 zebrick user.notice hot: md0 waiting to be fscked
Apr 12 20:09:18 zebrick user.notice hot: md1 waiting to be fscked
Dont you think that if you already have a raid, and degraded, you should follow the procedure to fix a degraded raid?
Also, see my last post under the topic 'Alt-F does not load'