Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 29,470
» Latest member: pandrhola
» Forum threads: 16,196
» Forum posts: 116,873
Full Statistics
|
|
|
Preferred OS |
Posted by: kc9jih - 10-07-2017, 10:22 AM - Forum: Debian
- Replies (4)
|
 |
New to the pine 64 world was wondering what you guys would recommend for a os for use of a weather station and or security system.
|
|
|
Guide - Raid Array (Raid 0) |
Posted by: Ptheven - 10-07-2017, 09:22 AM - Forum: Rock64 Tutorials
- No Replies
|
 |
Preface
In this guide, I will be showing how to create a raid array, using the raid 0 configuration. This allows you to have maximize storage available, however it comes at the risk of data loss in case of hardware failure.
![[Image: DifficultBitterAndeancondor-size_restricted.gif]](https://thumbs.gfycat.com/DifficultBitterAndeancondor-size_restricted.gif)
It also has the benefit of having really pretty "blinkenlights" effect when the USB drives are being accessed.
Prerequisites
ROCK64 board running Debian or Ubuntu, connected to the local network
Access to terminal, either locally or via SSH
At least 2 Flash drives (or hard drives)
Recommended: USB Hub, for ease of access.
___________________
Make sure your software and repositories are up to date:
Code: sudo apt update && sudo apt upgrade
Next, we install the mdadm package, used to monitor and implement software raid in linux:
Code: sudo apt install mdadm
After installing it, we can get our flashdrives and plug them directly into the ROCK64 board, or onto a USB hub and plug that into the board.
The USB drives that I used were previously erased by me, and thus, don't have any partitions. We can confirm that they've been detected by the system by issuing the "lsblk" command, showing the attached blocked devices. In my case, they are sdb, sdc, and sdd:
![[Image: fJUNTyv.png]](https://i.imgur.com/fJUNTyv.png)
Since we can see the 3 (in my case) flash drives recognized by the system, we can now proceed and start to create a new raid array.
WARNING: BE VERY CAREFUL WITH THE FOLLOWING STEPS AND DOUBLE CHECK, USING THE WRONG NAMES COULD LEAD TO DATA LOSS
Code: sudo mdadm --create --verbose /dev/md0 --level=0 --raid-devices=3 /dev/sd{b,c,d}
"--level=0" denotes the raid level, or the type of raid. "--raid-devices" flag states the number of devices. The last argument "/dev/sd{b,c,d}" is simply an easier way of saying "/dev/sdb /dev/sdc /dev/sdd" without having to type it all out (called Brace Expansion).
![[Image: LAWNB9K.png]](https://i.imgur.com/LAWNB9K.png)
After the Array is created, you can invoke the "lsblk" command, to see the status of the USB drives. Notice that all three drives (sdb,sdc,sdd) are part of the partition (md0) and that the partition size is larger than the size of the physical disk:
![[Image: RejMu5C.png]](https://i.imgur.com/RejMu5C.png)
Now, we can simply create a partition on the raid array, and mount it to a suitable location.
I created an ext4 partition on my Raid array:
Code: sudo mkfs.ext4 -F /dev/md0
Then, I created a mountpoint for my new Ext4 partition, and mounted it:
Code: sudo mkdir -p /mnt/md0
sudo mount /dev/md0 /mnt/md0
I also used this as an opportunity to check my RAID was succesfully created by checking the /proc/mdstat file (though, it was my mistake, I should have done this step right after creating the array.
![[Image: LPIHkQk.png?1]](https://i.imgur.com/LPIHkQk.png?1)
Now that the RAID device is mounted, we can use the chown command to assume ownership of it so that we can write to it:
Code: sudo chown -R rock64: /mnt/md0/
Again, this might vary depending on your username and mount location.
Thats all there is to it! We're done! You should be able to access that device under your mountpoint. We can confirm that the RAID array is mounted using either "lsblk" or "df -h":
![[Image: 5NRL2F7.png]](https://i.imgur.com/5NRL2F7.png)
|
|
|
Laptop build |
Posted by: jhip626 - 10-07-2017, 06:21 AM - Forum: Pine A64 Projects, Ideas and Tutorials
- Replies (1)
|
 |
Would I be able to use a screen like this for a display?
For Samsung Galaxy Tab 3 10.1" GT-P5200 P5210 P5200 LCD Display Panel Screen Monitor Repair Replacement
http://s.aliexpress.com/3iqMV3AV
(from AliExpress Android)
I would imagine I would need some sort of converter board, idk if something like that exists, but I need an inexpensive display that's around 10". It doesn't have to be touch screen.
Sent from my BLN-L24 using Tapatalk
|
|
|
Running Netflix |
Posted by: marcostt - 10-07-2017, 01:44 AM - Forum: Getting Started
- Replies (4)
|
 |
When I try to watch Netflix in Firefox (last version) I get an error message: 1003. Looking for fixes I see I must to allow content DRM at setup options of Firefox, but I can not find that option... What can I do? Thanks in advance.
|
|
|
Bluetooth CSR8510 not working with Rock64 Android 7.1 |
Posted by: efreeze - 10-06-2017, 01:47 PM - Forum: Android on Rock64
- Replies (14)
|
 |
Hello Guys,
I have the Rock64 with the last version of Android installed on it. All is good excepted that my CSR8510 BT dongle is not working. I tried everything i can see on my rasperry pie with no issue but not on Rock64.
Anybody has any BT working on this platform on Android ?
Thanks
Seb
|
|
|
PINE64/ROCK64 infra receiver power on |
Posted by: cserem - 10-06-2017, 06:41 AM - Forum: General Discussion on PINE A64(+)
- Replies (1)
|
 |
Hello,
On the PINE64 board there is an infra header. With the diode installed, is it capable of turning ON the board, or just turning it OFF?
I am interested in the answer for the ROCK64 board too, which has an infra receiver installed already: can it be used to power ON the device, or only to shut it down with the remote?
Thank you
|
|
|
Dual boot microsd/eMMc? |
Posted by: chitenavi - 10-06-2017, 02:26 AM - Forum: General Discussion on ROCK64
- Replies (2)
|
 |
Hi all, I just received my rock64 and I want to use it mainly as a small NAS with OMV installed in the eMMc. Is it possible to have Android on the microSD and using the jumper to have both systems at the same time?
Thanks, greetings
Enviado desde mi MI 5s Plus mediante Tapatalk
|
|
|
|