[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Planning a Debian NAS



On Monday 27 January 2020 19:34:30 ghe wrote:

> On 1/27/20 11:00 AM, Aidan Gauland wrote:
> > Can a r-pi be set up with RAID easily?
>
> Define 'easily' :-)
>
> Its OS is a reasonably close clone of Debian, and I've had very little
> trouble doing *nix tricks with it. But there's no disk and no SATA
> interfaces. A couple USB disks would do it, but I don't know if it'd
> recognize then for a RAID.
I have 2 ssd's plugged into usb3 ports on an rpi4.  Here is one of them 
from dmsg:
 2.173892] usb 1-1.3: new high-speed USB device number 3 using xhci_hcd
[    2.306431] usb 1-1.3: New USB device found, idVendor=05e3, 
idProduct=0610, bcdDevice=41.43
[    2.307897] usb 1-1.3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[    2.309338] usb 1-1.3: Product: USB2.0 Hub
[    2.310764] usb 1-1.3: Manufacturer: GenesysLogic
[    2.314556] hub 1-1.3:1.0: USB hub found
[    2.315936] EXT4-fs (mmcblk0p2): recovery complete
[    2.317714] hub 1-1.3:1.0: 4 ports detected
[    2.320755] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
mode. Opts: (null)
[    2.322331] VFS: Mounted root (ext4 filesystem) readonly on device 
179:2.
[    2.324827] devtmpfs: mounted
[    2.335159] Freeing unused kernel memory: 2048K
[    2.336815] Run /sbin/init as init process
[    2.454363] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using 
xhci_hcd
[    2.485525] usb 2-2: New USB device found, idVendor=174c, 
idProduct=55aa, bcdDevice= 1.00
[    2.487069] usb 2-2: New USB device strings: Mfr=2, Product=3, 
SerialNumber=1
[    2.488542] usb 2-2: Product: AS2115
[    2.490054] usb 2-2: Manufacturer: ASMedia
[    2.491505] usb 2-2: SerialNumber: 000003004EFE
[    2.520605] scsi host0: uas
[    2.532480] scsi 0:0:0:0: Direct-Access     ADATA SU 650              
0    PQ: 0 ANSI: 6
[    2.535805] sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 
GB/224 GiB)
[    2.536048] sd 0:0:0:0: [sda] Write Protect is off
[    2.536056] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    2.536500] sd 0:0:0:0: [sda] Write cache: enabled, read cache: 
enabled, doesn't support DPO or FUA
[    2.537423] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[    2.541241]  sda: sda1
[    2.556909] sd 0:0:0:0: [sda] Attached SCSI disk

If mdadmin can recognize that I see no reason a 2 disk raid array can't 
be done. One plugged into each of the usb3 ports on an rpi4b.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: