[ Log In ]
[ Register ]

Question #: 6939

Question: How do I setup a raid for my hard drives on Ubuntu?

Current Solution

1) Make sure to setup Primary partition:

Primary
Beginning of this space
Ext4
Mount point: /
and Swap partition:

Logical
Beginning of this space
Swap area using "Something Else"

2) get and install updates and upgrades

sudo apt-get update
sudo apt-get upgrade

3) get raid software

sudo apt-get update
sudo apt-get install mdadm

4) setup RAID

a) if raids haven't been setup:
sudo mdadm --create /dev/md0 --chunk=256 --level=0 --raid-devices=2 /dev/sda /dev/sdb

b) if raids are setup, but just have to be reassembled:
sudo mdadm --assemble /dev/md0 /dev/sda /dev/sdb

or

mdadm --assemble --scan

Respond:

Other Possible Solutions to this Question

  • How to setup RAID on Ubuntu

    1) Make sure to setup Primary partition:

    Primary
    Beginning of this space
    Ext4
    Mount point: /
    and Swap partition:

    Logical
    Beginning of this space
    Swap area using "Something Else"

    2) get and install updates and upgrades

    sudo apt-get update
    sudo apt-get upgrade

    3) get raid software

    sudo apt-get update
    sudo apt-get install mdadm

    4) setup RAID

    a) if raids haven't been setup:
    sudo mdadm --create /dev/md0 --chunk=256 --level=0 --raid-devices=2 /dev/sda /dev/sdb

    b) if raids are setup, but just have to be reassembled:
    sudo mdadm --assemble /dev/md0 /dev/sda /dev/sdb

    or

    mdadm --assemble --scan

    Click the link to respond:
    How to setup RAID on Ubuntu

  • How do you burn an ISO to a flash drive for Linux or Ubuntu?

    Download the Ubuntu/EMC combo ISO here:
    http://linuxcnc.org/index.php/download/21/

    Follow these instructions to mount the ISO to a CD or flash drive:
    http://www.ehow.com/how_6012868_burn-iso_s-flash-drive.html

    Click the link to respond:
    How do you burn an ISO to a flash drive for Linux or Ubuntu?

  • what program do I use to install ubuntu on my computer?

    Here is the direct link to download ubuntu (http://www.ubuntu.com/download/desktop), now installing it to your HDD you will need to install it to a USB or burn it to a DVD. Here is a following guide to install ubuntu (http://www.ubuntu.com/download/desktop/try-ubuntu-before-you-install).

    Additional Information:
    Ubuntu comes with a program that will replace the controller software (ex Mach 3/Planet CNC), called LinuxCNC, here is the main website (http://www.linuxcnc.org/) and the main download page(http://www.linuxcnc.org/index.php/english/download).

    Click the link to respond:
    what program do I use to install ubuntu on my computer?

  • How do I change my password on your site for logging in

    To change your password, you will need to go to the log-in page (top of screen, left hand side) and enter your username in the password reset section.
    You will receive a temporary password via email to log-in and change your password.

    Click the link to respond:
    How do I change my password on your site for logging in

  • How do I enter tax exemption for my order?

    Dealing with Tax Exemption forms, please refer to contacting us at customerservice@buildyourcnc.com

    Click the link to respond:
    How do I enter tax exemption for my order?

  • HOW COMPLEX IS YOUR KIT TO ASSEMBLE, AND MOST IMPORTANTLY - HARD IT SETUP CONTROL THE LASER WITH MACH3?

    The blackTooth Laser cutter and Engraver can be built in a weekend. Take a look at the build instructions and try to determine if you feel you have sufficient capability to put together the laser system.

    Click the link to respond:
    HOW COMPLEX IS YOUR KIT TO ASSEMBLE, AND MOST IMPORTANTLY - HARD IT SETUP CONTROL THE LASER WITH MACH3?

  • I have a raid, how is it setup

    1) Make sure to setup Primary partition:

    Primary
    Beginning of this space
    Ext4
    Mount point: /
    and Swap partition:

    Logical
    Beginning of this space
    Swap area using "Something Else"

    2) get and install updates and upgrades

    sudo apt-get update
    sudo apt-get upgrade

    3) get raid software

    sudo apt-get update
    sudo apt-get install mdadm

    4) setup RAID

    a) if raids haven't been setup:
    sudo mdadm --create /dev/md0 --chunk=256 --level=0 --raid-devices=2 /dev/sda /dev/sdb

    b) if raids are setup, but just have to be reassembled:
    sudo mdadm --assemble /dev/md0 /dev/sda /dev/sdb

    or

    mdadm --assemble --scan

    Click the link to respond:
    I have a raid, how is it setup

  • I need to determine steps/inch mach3 setup information for my motors and drivers.

    blueChick:

    X-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Y-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Z-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    blackToe:

    X-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Y-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Z-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    blackFoot:

    X-axis
    “CW8060 (6.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100 (“0”=down, “1”=up)
    Mach3 Motor Tuning: 914.29 steps/in

    Y-axis
    “CW230 (3.0A) Driver”
    Set to 1/16 Microstep, 2.7A
    Dipswitches: 11001100
    Mach3 Motor Tuning: 1422.22 steps/in

    Z-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    greenBull:

    X-axis
    “CW8060 (6.0A) Driver”
    Set to 5.43A, 1/16 Microstep
    Dipswitches: 01100110 (“0”=down, “1”=up)
    Mach3 Motor Tuning: 914.29 steps/in

    Y-axis
    “CW8060 (6.0A) Driver”
    Set to 5.43A, 1/16 Microstep
    Dipswitches: 01100110
    Mach3 Motor Tuning: 914.29 steps/in

    Z-axis
    “CW8060 (6.0A) Driver”
    Set to 5.43A, 1/4 Microstep
    Dipswitches: 01100100
    Mach3 Motor Tuning: 1600 steps/in


    Scratch-Build / Book-Build Kit:

    X-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100 (“0”=down, “1”=up)
    Mach3 Motor Tuning: 1600 steps/in

    Y-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    Z-axis
    “CW230 (3.0A) Driver”
    Set to 1/4 Microstep, 2.7A
    Dipswitches: 10101100
    Mach3 Motor Tuning: 1600 steps/in

    Additional Information:


    Additional Information:
    Scratch built/book CNC with NEMA 34 motors and CW8060 microstep driver

    Additional Information:

    Click the link to respond:
    I need to determine steps/inch mach3 setup information for my motors and drivers.

  • Do you have a set of instructions specifically for the blacktooth/parallel setup?

    The blacktooth page shows instructions for both USB and parallel interfaces. If you need further assistance with anything please contact customerservice@buildyourcnc.com

    Click the link to respond:
    Do you have a set of instructions specifically for the blacktooth/parallel setup?

  • HOW LONG WOULD IT TAKE FOR MY TO BUILD A MACHINE?

    The length of time it will take to build a CNC machine kit is not an easy answer. There may be a wide array of circumstances that limit a persons abilities to build the cnc machine kit in an efficient timeframe; however, if you have moderate dexterity and moderately mechanically inclined, you should have no problem building one of our machines within one weekend if the project has very little downtime.

    Click the link to respond:
    HOW LONG WOULD IT TAKE FOR MY TO BUILD A MACHINE?

  • Im having software setup problems with my backtooth (mach3) and i seem not to find a solution in the forum. what can i do?

    You can call us, send an email, or pose the specific question on this customer service live that pertains to the issue that you are having.

    Click the link to respond:
    Im having software setup problems with my backtooth (mach3) and i seem not to find a solution in the forum. what can i do?

  • How do I wire two stepper motors for one axis?

    Yes, you can use 2 motors in the same axis output, however you will still need a driver for that motor! Also depending on the orientation on which you mount the motor you might have to invert the direction of the motor, and that will be simple by swapping the A+,A-, to the B+,B- locations and vice versa, from the driver to the motor wiring.

    Also you can run a slave motor using another axis on the board, and setting it up in the Planet-CNC settings.

    Planet-CNC/File/Settings/Axes, here you will enter 3 in the Number of Axes location, and then change the Function of the Axis 4 to Slave 1. There you will have the 4th axis or A-axis be a slave for the x-axis.
    Slave 1 - X-Axis
    Slave 2 - Y-Axis
    Slave 3 - A-Axis
    Slave 4 - B-Axis
    Etc...

    Click the link to respond:
    How do I wire two stepper motors for one axis?

  • HOW DO SET UP PUTTY FOR SERIAL COMMUNICATION?

    Under Connection -> Serial, configure the correct settings for the data frame

    Under Session, select Serial, the serial line "com" and speed should reflect the information set in the connection -> serial.

    Click the "Open" button to start the communication.

    Click the link to respond:
    HOW DO SET UP PUTTY FOR SERIAL COMMUNICATION?

  • HOW DO START PUTTY FOR SERIAL COMMUNICATION?

    Under Connection -> Serial, configure the correct settings for the data frame

    Under Session, select Serial, the serial line "com" and speed should reflect the information set in the connection -> serial.

    Click the "Open" button to start the communication.

    Click the link to respond:
    HOW DO START PUTTY FOR SERIAL COMMUNICATION?

  • How do I configure my control program (i.e. Mach3, EMC2, etc.) for lead screw steps per inch?

    You will first need to derive the number of turns per inch that your lead screw produces. If there is only a single start (typical all thread screws), then the turns per inch is the same as TPI (threads per inch). If there is multiple starts, then the number of starts is divided by the TPI to determine the turns per inch. For example, 10 TPI with 5 starts is 10 / 5 = 2 turns per inch. Now that we know this, we can get the number of steps per inch as described in the previous question: take the number of steps per revolution that the motor will output. This will be the number of full steps that you motor produces (typically 200, or 1.8 degrees per step) multiplied by the microstepping per step to which the driver is configured. Simply multiple the number of turns per inch and the number of steps per revolution and you will get the steps per inch. Ok, lets see the formula:

    200 steps * 16 microsteps * 2 turns per inch = 6400 steps per inch


    Additional Information:
    14798


    Additional Information:
    hallo i have cnc with ball screw 2.5mm of pith..n driver stepping 1/16 how to setup step value

    Additional Information:
    i have ball screw with 2.5 mm of pith n 1 start motor 200 step 1/16 driver stepping

    Click the link to respond:
    How do I configure my control program (i.e. Mach3, EMC2, etc.) for lead screw steps per inch?

  • How do you install the software for the Mach3 USB controller?

    The Mach3 usb controller/interface has instructions and videos on this page:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    There is a 5 step process on that page to install the plug-in and the configuration xml file that is necessary for the proper functioning of the controller.

    The videos on that page also demonstrate in detail how to install the software, plug-ins, xml file and wiring and testing most of the features of the Mach3 USB interface.

    Hope this helps.

    Click the link to respond:
    How do you install the software for the Mach3 USB controller?

  • How do I connect the outputs on the USB motion card for Mach3?

    A 24V connection to the USB motion card is only needed if you are using limit switches (inputs), powering the spindle/VFD speed and direction, and for the outputs, for powering other devices (mist, coolant, etc.).

    If you are using a VFD (Variable Frequency Drive, also called Inverter) for a spindle, they typically have a 24V out terminal that can be used with our USB motion card. If you are not using a spindle/VFD (we highly recommend one), then you will need to purchase a 24v power supply to power that side of the board.

    The outputs mentioned above are to connect to external devices and will require a relay (a mechanical switch that is controlled by a digital signal). This mechanical switch can turn on a device like coolant and mist, or even a router, if you are using one. A relay is required to turn on these devices because the devices are typically higher voltage, like mains (110v or 220v). So, a relay can turn on or off a high voltage device with a lower voltage (24v) signal.

    Click the link to respond:
    How do I connect the outputs on the USB motion card for Mach3?

  • HOW MUCH SILICONE TUBE DO I NEED FOR A GREEN LEAN TO CONNECT THE SPINDLE

    The greenlean requires 56 feet of 1/4 Inside Diameter and 3/8 Outside Diameter silicon tube for the spindle.

    Additional Information:
    20

    Additional Information:
    20

    Click the link to respond:
    HOW MUCH SILICONE TUBE DO I NEED FOR A GREEN LEAN TO CONNECT THE SPINDLE

  • How do you set up Frequency converter for 2.2kw spindle?

    Ideally, the spindle VFD should use an actual 220V socket that contains the minimum amp fuse that will allow the appropriate draw for all of the items that will be plugged into that socket. If you elect to use a boost converter, the 2.2kW spindle VFD will need a 2200 watts or more.

    My brother is using 1000W and told me his spindle is working just fine. Is it safe to use 1000W ?

    I still can't recommend using a 1000W converter.

    Click the link to respond:
    How do you set up Frequency converter for 2.2kw spindle?

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales
Not logged in. Log In Register
Track Order(s)
View Order(s)
I Want to Schecule a One-On-One Paid Tech Support Session
Book an Appointment Pertaining to a BuildYourCNC Product (Free)
Ask a Quesion Below (Free):
Book an Appointment Pertaining Other Equipment ($60/half hour)
Book an Immedite Appointment Pertaining Other Equipment ($120/half hour)
Ask a Quesion Below (Free):
Waiting for response... I may not answer immediately, but I was notified on my cellular phone so my response is forthcoming. If I don't respond immediately, you can always go to the [My Account] page to see all of our chats at any time.