booting from usb sticks?

I think it would be great thing if you could make mikrotik bootable from usb sticks…easy to replace and wery handy…

.. Backup and Restore to USB sticks would be even more useful too ..

Yes, usb boot feature will be very useful… We also need it

USB sticks are less expensive than IDE flash modules. As USB sticks usually plug in externally it would be easier for upgrades and rapid emergency computer replacements. Most computers built in the past three years support USB boot, so I don’t think lack of hardware support would cause an issue. I only use new computers or reuse computers that we’ve upgraded after 2.5 years.

Not all of these support USB stick emulated as a harddrive. Some are emulated as “large” floppy drives.

USB sticks have no IDE chips meaning the kernel has to be aware that the harddrive is USB and must supply the layers that emulate IDE for USB.

any hope for future versions?

And for someone (the cleaning team?) accidentally (or intentionally) ripe out the stick?! …

Best regards,
Christian Meis

There is special “extender” cable for sticks. You can put stick inside computer case.
If you are maximum worried about such case - most modern motherboards have USB host pin’s on motherboard, you can connect stick directly to them, inside the case.

I’m not worried - I keep using CFs or IDE flash disks… :wink:
And having an USB stick inside a case just demands for extra mounting etc. Too much worries, if you ask me :smiley:

Best regards,
Christian Meis

and what’s the benefit against using other kinds of flash media? the only benefit of USB is that it’s portable and easily removable, which are not actually important for RouterOS. maybe these features are even bad for RouterOS :slight_smile:

The major benefit I see is cost.

Yesterday I bought the following:

6x CF-IDE adapters, $19.95 each
6x CF, 512mb, $29 each
6x CF-IDE 4 pin fdd power cable, $1.99 each

~ 52 for a bootable flash card thats large and in the way in small cases.
~ 19 for a bootable USB stick thats tiny and can be stuffed anywhere.

The only downside to this is how to handle hdd licensing, since I believe a usb boot device might not present itself the same ? Maybe it does.

Sam

http://cgi.ebay.com/HQ-FEMALE-SD-CF-IDE-DI-COMPACT-FLASH-ADAPTER-USA_W0QQitemZ220089446913QQcategoryZ41994QQrdZ1QQcmdZViewItem
http://cgi.ebay.com/LEXAR-512MB-CF-Compact-Flash-Card-80X-NIKON-D70S-D200_W0QQitemZ120097135286QQcategoryZ122612QQrdZ1QQcmdZViewItem

Depends on where you live, at least in ebay and in our country computer stores the prices are much lower.

This means, MT will not have support for USB drives just because you can buy cheap CF in Latvia?

no this just means that I personally don’t see any use in making this, which by the way is certainly not an easy task. Our developers are working on many important new features and rewriting many programs to make them faster and more stable, my personal opinion is that this is more important than USB flash drive booting. A Router is something you don’t play with, what happens if somebody accidently removes your USB stick? It’s not very reliable to have it hanging somewhere. Your network depends on this machine, do you want to depend on a small usb stick meant for family photos, or you want to have stable and reliable system for your company?

the aim of using a usb flash disk is to use it witha computer box because hard drive can be damaged after long time usage .
especially if the routerbox is as an access point mode

regards

and why would you be convinced that flashdisks are reliable? also, there are other kinds of flash media. invest in your router, that’s your networks core.

Normis, reasons why USB Flash much better.

Temperature range.
Flash)Most is -10 to +60, Extended: -40°C to +85°C
HDD)Maximum operating temperature change even is limited, and operating range 0-60C

Size of solution. Especially for Mikrotik - HDD not suitable at all, as i know modern HDD’s not less than 40Gb. More space - completely useless, and you are paying for it.

Price. 80GB hdd beginning at $30, USB flash begins from $10-$5. When you deploy about 200 PPPoE’s, and you save $20, it is $4000, you can invest them in something really important, than useless space.

Power requirements, maximum start current, DC about 2.8 amps, and in idle mode 8watt. While flash on write (it is peak), about 40mA. Serious reason, if you run Via CPU based low-power router, with DC-DC power supply.

Compatibility, USB stick can be plugged in any PC, and cable let to put it any hole in PC, if you need to hide it. It doesnt have limitation to angle of mount, doesn’t require tight screwing to case.

Hotplug. Anybody will say - why for router? Easy - if you want to migrate to another router, you can unplug USB, while old is running, run new router from IT, and then just by one click enable/disable ports on switch, if you dont have stateless apllications and it is just router - it will run without stopping.

Availability. USB stick you can buy in any supermarket, HDD usually sold only in PC shops.

And most important reliability. Read cycles as i know almost unlimited, sure it has MTBF, but most weak point write cycles, which is not a problem for router. HDD in opposite have moving parts, and finally you will have issues with head positioning system or spindel motor, it is moving permanently, and if you will try to save it by putting sleeping mode - you will face limitation of start-stop count.

Speed. USB 2.0 Flash able to archieve 27MB/s, with truly random access, with harddrive speed on (bad scenario for HDD - random access, usually it is router boot) - 16Mb/s.

CF is not an option, it is just rare. Many of Mikrotik customers living in poor countries, with weak infrastructure, especially Middle East and African countries, and to find or ship CF solution - it is expensive and difficult question. And biggest problem not CF, it is available in shops for digital cameras and etc, the problem is CF-IDE converter. And by the way, while camera manufactures slowly moving out from CF, it is becoming more rare in shops. While USB sticks available everywhere, and last SD card what i buy for my wife(for digital camera), you can turn by another side, it has USB connector, and it will appear as USB stick. And size is extremely tiny, everybody know what is the size of SD card.

I’m not worried about someone accidentally removing the USB drive. Most of my MTs are in locked cabinets, shelters, or rooms. They could actually be installed inside the computer if needed. People don’t have problems with proprietary controlled-access software dongles being accidentally removed.

They are certainly less fragile than mini-pci card RF connectors like UFL; I know that is a cheapshot since MT probably has no say in connectors on radio cards.

Diverging slightly, if routerboards had USB, we could have USB usps monitored by MT, as well as perhaps USB tunneling between MTs over the network.

This is what I wanted to hear at least once. it is not the first time that we hear all kind of reasons that someoption is out of question but the main one: you do not know how to do it, or it is hard task for you.

There is no other reason why USB support is not bult in, but that it is hard task for you to do. Be honest and say so. I have no problem with that you cannot do it, but I cant stand to hear false excuses and pursue of user that they do not need what they ask for.

Mikrotik already supporting MTD devices, which was extremely difficult task. You can just use that (MTD) layer, and convert block-device(SCSI/sda, for usb-storage) to MTD, i was doing that already on my Linux solutions.

Additionally all libata(and old IDE drivers will be deprecated) uses SCSI device layer, so i think Mikrotik must support in near future libata/scsi, which will solve all problems with SATA disks, and PATA will work as well. And maybe USB-sticks too.