Hi
found this
http://wiki.mikrotik.com/wiki/Manual:Partitions
Sounds like a best practices.
Now what happens to my installed CCR when i repartition will I wipe my working config or will it preserve it ?
THanks
It will boot into the first available partition, which is set to active by default.
If you want to boot into another partition, Like rextended mentioned, you have to set it to active and reboot.
You will not lose any data. Repartiton keeps your existing system as it is, it just shrinks it's disk size.It will boot into the first available partition, which is set to active by default.
If you want to boot into another partition, Like rextended mentioned, you have to set it to active and reboot.
Hi
Sorry i am not being clear.
It says when you repartition you loose all data. I am wondering whats left then ...
Do I need to unplug my ccr from the switch and connect a console or ?
definitely, one thing I don't like about safe mode is the buffer is not beg enough to do rewrite of all the firewall rules.I use it myself - I have 3 partitions:
1) LIVE - Stable ROS
2) BACKUP - Stable ROS - I backup config from LIVE before making major changes, if those changes fail miserably I boot into this partition as pure kind of restore point. Safe Mode does a similar thing but I like to have this handy as well
3) TEST - New ROS - I will boot into a new RouterOS update to test if it works, if not revert back to the stable partition.
I'm working on scripting for this actually for that very reason, a run at start time script that if not disabled within 10 minutes or so of boot, will change to safe partition and reboot.definitely, one thing I don't like about safe mode is the buffer is not beg enough to do rewrite of all the firewall rules.I use it myself - I have 3 partitions:
1) LIVE - Stable ROS
2) BACKUP - Stable ROS - I backup config from LIVE before making major changes, if those changes fail miserably I boot into this partition as pure kind of restore point. Safe Mode does a similar thing but I like to have this handy as well
3) TEST - New ROS - I will boot into a new RouterOS update to test if it works, if not revert back to the stable partition.
I would have a sticker on all the CCR's ... BEST PRACTICE PARTITION YOUR DEVICE.
what would be good is some sort of timer. so set timer to reboot to backup parititon, do work if all is okay stop timer else it reboots.
A
You can select only needed packages (bad practice, is best use routeros-xxx-xxx.npk) for small hd devices.I'm working on scripting for this actually for that very reason, a run at start time script that if not disabled within 10 minutes or so of boot, will change to safe partition and reboot.definitely, one thing I don't like about safe mode is the buffer is not beg enough to do rewrite of all the firewall rules.I use it myself - I have 3 partitions:
1) LIVE - Stable ROS
2) BACKUP - Stable ROS - I backup config from LIVE before making major changes, if those changes fail miserably I boot into this partition as pure kind of restore point. Safe Mode does a similar thing but I like to have this handy as well
3) TEST - New ROS - I will boot into a new RouterOS update to test if it works, if not revert back to the stable partition.
I would have a sticker on all the CCR's ... BEST PRACTICE PARTITION YOUR DEVICE.
what would be good is some sort of timer. so set timer to reboot to backup parititon, do work if all is okay stop timer else it reboots.
A
Edit: It definitely is good for the bigger devices, but some of the smaller mips devices dont have much HDD space to partition 3 ways lol. I do this on my RB1100AHx2's and my CCR1036's
Of course you test locally as much as you can but there is always the chance that the specific device on the other end may still have problems. Rather too much than not enough.You can select only needed packages (bad practice, is best use routeros-xxx-xxx.npk) for small hd devices.
But partiton 3 for test new version?
I think is better to not test the new version on distant devices...
Just for reference, on CCR1036-12G-4S (6.14 & 3.13fw) I can partition, copy-to and boot with 2 or 4 partitions created. However I get kernel failures and fallback to part0 if I try to use 3 partitions (a reformat and copy-to).I'd like to try this feature, but I'm having issues on a CCR1036-12G-4S.
I've created 3 partitions, but if I "copy-to" from winbox or the console when I reboot after activating one of the two newly created partitions they fail with the message: kernel not found or data corrupted" and then fall back to part0.
That should go into the docs as currently this is not clear at all:You will not lose any data. Repartiton keeps your existing system as it is, it just shrinks it's disk size.
--jeroenrepartition (integer) Will reboot the router and reformat the NAND, leaving only active partition.