[ Log In ]
[ Register ]
NEW: CNC Router PLANS Available for all of our Newest CNC Models!! Click here to "Design Your CNC".

Question #: 6940

Question: How to setup RAID 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 do I setup a raid for my hard drives 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 do I setup a raid for my hard drives on Ubuntu?

  • 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

  • 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 to setup a probe with Mach3 and pokeys57cnc interface

    If you do the following, you can get mach3 to recognize the probe.

    In mach3, go to config, ports and pins, input signals, and scroll down to probe. Check enabled, active low, and emulated. Ignore the ports, pins and keys. They are set automatically.



    Go to Mach3 Plugin Control tab, select Configure Pokeys57CNC. Go to pulse engine settings tab, and under the probing input in the lower left corner of the page, scroll down and select Pin 19. Click apply. Close and restart mach 3. When you go to diagnostics page in mach3 after it’s reopened, the digitize light indicates whether the probe circuit is closed. IF it’s lit, it’s closed. IF not, it’s not.

    If this information exists anywhere else, I couldn’t find it. I found it through working with poblocks, which also updated my pokeys57cnc firmware.

    Click the link to respond:
    how to setup a probe with Mach3 and pokeys57cnc interface

  • 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?

  • HOW DO YOU SETUP THE SPINDLE INVERTER?

    Change PD001 Source of Run Commands to '1'
    Change PD005 Max operating frequency to 400hz
    Change PD004 base frequency to 400hz
    Change PD003 Main frequency to 400hz
    Change PD006 Intermediate frequency to 2.5
    Change PD008 max voltage to 220v
    Change PD009 Intermediate voltage to 15v
    Change PD010 Min voltage to 8
    Change PD011 frequency lower limit to >100hz (120hz to start)
    Change PD142 7 Amps
    Change PD143 2
    Change PD144 3000

    Note: PD001 had to be changed back to 0 to allow for keypad control.
    Note2: I had to reverse U and V to get the spindle to go forward in FWD. (reverse any two wires, u&v or w&v for example)

    Click the link to respond:
    HOW DO YOU SETUP THE SPINDLE INVERTER?

  • HOW DO YOU SETUP THE SPINDLE INVERTER VFD?

    Change PD001 Source of Run Commands to '1'
    Change PD005 Max operating frequency to 400hz
    Change PD004 base frequency to 400hz
    Change PD003 Main frequency to 400hz
    Change PD006 Intermediate frequency to 2.5
    Change PD008 max voltage to 220v
    Change PD009 Intermediate voltage to 15v
    Change PD010 Min voltage to 8
    Change PD011 frequency lower limit to >100hz (120hz to start)
    Change PD142 7 Amps
    Change PD143 2
    Change PD144 3000

    Note: PD001 had to be changed back to 0 to allow for keypad control.
    Note2: I had to reverse U and V to get the spindle to go forward in FWD. (reverse any two wires, u&v or w&v for example)

    Click the link to respond:
    HOW DO YOU SETUP THE SPINDLE INVERTER VFD?

  • HOW LONG FOR ME TO BUILD IT?

    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 FOR ME TO BUILD IT?

  • HOW LONG DOES IT TAKE TO SHIP

    Unfortunately I am not able to give an estimate of shipping time. This is because there are multiple shipping options, Some of them cost more than others, but ensure the package arrives in a certain number of days. Others do not give a number of days, and many factors could change the length of shipping time, such as weather, or busy season. It would be best to choose an option you are comfortable with the price of, and then Google search the typical times it takes for that option to get to you, or call the shipping company and request that estimated time from them.

    Additional Information:

    Click the link to respond:
    HOW LONG DOES IT TAKE TO SHIP

  • how to contact you via email

    You can find all the ways to contact us by clicking on the contact us link at the footer.

    Our email is customerservice@buildyourcnc.com
    Our phone number is 281-815-7701

    Click the link to respond:
    how to contact you via email

  • how connect inverter to usbcard

    We will answer your question but need more specifics as to what you are referring to. Please add additional information and we will respond.

    Additional Information:


    Additional Information:
    Hi, i'm in France, I have an usb breakoutboard from you and a red fly box
    A 2,2 spindle with the correct inverter.
    I just wan't to know if it's possible to drive the spindle from Mach 3,and if it is, how connect the usb card to the inverter which is connected to the spindle.
    Do I need another driver or any interface card?

    Additional Information:


    Additional Information:
    Sorry, I mean with planet cnc not mach3

    Click the link to respond:
    how connect inverter to usbcard

  • HOW TO CONNECT THE INVERTER WALL?

    Input to VFD:
    240V Active - R
    240V Neutral - S
    Ground - E

    Click the link to respond:
    HOW TO CONNECT THE INVERTER WALL?

  • How can I convert RPM to hertz Hz?

    1 RPM = 1/60 Hz
    1 RPM = 0.01666666 Hz.

    So, say you wanted to know the Hz for 12,000 RPM

    (12,000 Revolutions / Minute) / 60 = 200 Hz
    or
    12,000 RPM x 0.016666 = 200 Hz

    If you needed to determine the RPM from the Hz, then

    RPM = Hz x 60

    So, say you wanted to know what RPM is for 400 Hz:

    60 x 400 Hz = 24,000

    Click the link to respond:
    How can I convert RPM to hertz Hz?

  • HOW TO CONNECT THE SPINDLE INVERTER?

    U - Pin1
    V - Pin2
    W - Pin3
    Pin4 Dead

    Additional Information:
    My home made cnc is a big problem with my NC connection. When in start my spindle it will be gone wrong. It will be limith switch problem anytime. Need help thanks.

    Click the link to respond:
    HOW TO CONNECT THE SPINDLE INVERTER?

  • HOW DO YOU CONNECT THE INVERTER TO AC?

    Input to VFD:
    240V Active - R
    240V Neutral - S
    Ground - E

    Click the link to respond:
    HOW DO YOU CONNECT THE INVERTER TO AC?

  • How do I put two motors on the same axis

    Yes, you can use 2 motors in the same axis output, however you will still need a driver for that stepper 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.

    The wiring scheme would look like this:
    The step and direction output terminals on the CNC controller interface for the axis you want to have two motors would connect to both drivers of the two stepper motors on that axis.

    Additional Information:
    I have been running two motors from the same driver for 10 years on my 3m x 1.6m router. Both motors driving the gantry are wired together. I see no reason to use two drivers. The motors are high torque Nema 34. I've had no issues.

    Click the link to respond:
    How do I put two motors on the same axis

  • HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3

    You can go to our instructions on for the breakout board here: http://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay to get the information on turning the spindle on and off from the computer and mach3. Alternatively, you can connect the computer using RS485 serial to the inverter and send control commands that way.

    Additional Information:
    HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3 usb

    Additional Information:


    Additional Information:

    Click the link to respond:
    HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3

  • how to conect the VFD spindle using modbus

    It is possible to connect and configure the spindle VFD to the mach3 via an RS485 communication and protocol.

    The first thing you will need is the dynamic link library to pair with mach3 called the Huanyang VFD Mach3 PlugIn. You can find this file at the mach3 support forum here: http://www.machsupport.com/forum/index.php/topic,14182.0.html

    You will also need to download the Microsoft .net 3.5 framework and install it: https://www.microsoft.com/en-us/download/details.aspx?id=21

    Follow the pdf that comes with the library file, but here is a synopsis of what you need to do (I also added a lot more information that may be useful during this process as the manual does not cover the main connections that need to be done):

    You will need to program your VFD so that it knows how to communicate with mach3 and the computer (go into the programming mode of the VFD and change these parameters):
    - PD001 - value 2 - Enables with communication aspect of the VFD
    - PD002 - value 2 - Enables frequency control from the communcations port
    - PD163 - value 1 - VFD address
    - PD164 - value 1 - Baud rate of 9600 (speed of the communication)
    - PD165 - value 3 - 8N1 RTU - 8 bits (that's the size of the word that gets communicated), N (No parity or no error checking) and 1 (1 stop bit)

    Copy the dll file to the PlugIns folder of mach3.

    Connect the RX and TX lines to your computer. There are a couple ways you can do this, but the recommended way would be to use an FTDI USB device which converts a USB to a serial com port. The device will have Rx and Tx connectors to connect to the VFD terminals with the same labels. This method is recommended since serial ports are not as common in computers these days.

    Next, you will need to configure mach3 to use the plugin library. Start mach3 and click on Menu -> config ->Config Plugins. Enable the new plugin by clicking on the red cross on the left column next to the plug in. Restart mach3 after doing this.

    No you need to configure mach3 to use the HuanyangVFD plugin. Go to the ports & pins configuration and select the spindle setup tab. Make sure that the Disable Spindle Relays checkbox is unchecked. We don't want mach3 to output a signal for a relay since the spindle will start up and turn off within the VFD and not from an external relay.

    Next, go to the HuanyangVFD settings by clicking on Menu -> plugin control -> HuanyangVFD. Set the parameters to the same settings you put into the VFD programming. The com port will be shown as new hardward when you plug in the USB FTDI device. A little bubble will be displayed at the bottom right where it will notify you that a new device is being installed (be patient while windows assigns a com port). Alternatively, you can use the windows device manager to see which port was set for the new USB FTDI device). You may need to restart mach3 several times until you get the correct information displayed in the PD001 and PD002 fields. When the com port is correct and the other parameters, like baud and VFD address is the same as you entered in the programming, then the PD001 and PD002 will show the number 2, otherwise, a 99 will appear which means that communication was not successful.

    You can now control the on/off and RPM of the spindle using the RS485 communication between mach3 and the VFD.

    Additional Information:
    Will this work with the brand called "best "vfd as well.

    Click the link to respond:
    how to conect the VFD spindle using modbus

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.