将数媒派从优盘引导启动,如视频所示,只需要接上优盘。怎么做的我们接下来看这里分成了两步,第一步还是从 sd card 启动,只是坐点配置,使 sd card 启动时自动修改 otp 配置,是支持优盘启动。 现在我们执行第一步,先在坑费的点 txt 末尾加上两句支持优盘启动的配置。配置完将 sd card 接入树莓派上电启动,将自动执行支持优盘启动的配置检测语句,如图显示,三零二零零零零 a 则表示成功 执行完此步骤,数媒派已经支持从优盘启动了。下一步就是接入你稍写好的优盘了。等到系统启动完之后,使用 lsblk 之后,会发现系统盘的设备描述服跟之前 sd card 是不一样的。现在我把 sd card 再接入,使用 lsb lk 指令,会发现跟原来 sd card 启动一样的设备描述服信息,可以相当于我们获得了一个树莓派的读卡器了,但是不建议拔插次数造成损坏,但少用可以。
粉丝84获赞909

是出奇音,昨天有人私信我的,说干就干。找到一个十六 g 的优盘,把优盘插到数梅派右上角。 找一个摄像头对着我的十组高达。由于那之前已经建立,这里建立共享文件夹,直接建立在 wht m l 下。 建立后的完整路径如下 修改文件加权限,可读可写。 挂在十六至 u 盘到新键目录下。 写一个程序,用于拍照并保存到 worm l e copp 编译程序圆码。 在树莓派运行程序是下一切运行正常,每十秒就拍一张照片。 在同一时间在 windows 也可以看到生成效果。 能看到图片,不错呀。 你以为这就完了? a o 请看下去吧。这是为了方便看照片,专门改的一个照片墙。编辑 exp hp 文件。 注意这里要检查文件加路径。 打开浏览器,输入网址幺零点八点零点八八八千零八十 come on l e coryendxp hp 是不是很花里胡哨呢? 需要拍照程序原码与照片墙的原码程序,请拿走。

今天主要是讲这个苏门派和这个电脑之间的,嗯,传输文件,嗯,首先的话就是要登录一下,登录苏门派,嗯, 实现这个速门派和电脑之间的文件传输的话,主要的方式有三种。第一种的话就是现实生活中常用的就是用个 u 盘,因为这个速门派上,速门派上他有这个 usb 接口,可以通过一个 u 盘去呃 输入或者是输出文件,可以和电脑,电脑上也可以插 u 盘,这样的话就是通过这个 u 盘这个中间去传输文件。第二种的话,前面讲的这个 vnc 连接的话,他也会自带着文件传输的功能。第三种的话就是 ftp 文件传输协议,然后这种一般是要呃这个安装额外的 ftp 工具。今天主要是讲这个,讲一下这个顺派的关机和重启的场所,以及这个,呃顺派和电脑之间通过这个 vic 的方式去传输文件, 呃,这个关机重启的话,我们,嗯,可以在等一下操作完之后,呃,操作一下,呃关机重启的话,这里是通过这个舌度超级这个用户, 呃权限 pof, 这里就是舌度, pof 就是关闭电源,呃,同样也可以通过舌度下来档杠 h 闹,这里就是立刻关机,同呃也可以在这后面加这个舌度。呃,下列档杠 h 加二就是两分之后, 两分钟之后定时关机啊,重启的话也是十度下了档啊杠啊闹,这就是立即重启,这是杠啊。然后另外的方式的话也可以通过速门派的桌面去关机,这个可以等下登录速门派之后可以进行一个操作, 这里的话就是先登录一下重派,然后这里的话这里已经是开了这个电脑笔记本电脑上的移动热点,然后点击这个通过远程登录 mstmstsc, 这里的话通过。呃,我是通过这个 windows 自带的一个远程桌面连接的工具,然后去连接,这是这个是我们拍的 ip 地址,然后点击这个连接 啊,这里可能他的一个 ip dhcp 动态分配的啊, ip 地址可能变了,我们就可以看一下这里的啊,打开一通热点,看这个设备, 这里有一个设备,就是啊啊 dccp 动态分配的 ip 地址变了,我们把这个新的 ip 地址呃连接一下,然后在实时拍的登录界面桌面的一个登录界面输入他的账号密码。 好,嗯,站好,嗯, 然后这是顺派的登录界面,然后在这里的话我们就可以输入这些啊命令,比如说舌度抛啊抛啊关机,舌度小二档杠 h 闹,舌度小二档杠二,闹,舌度小二档杠 h 加二,这这些操作 啊,桌面操作的话,在这里的话,这里有个这个顺拍的配置,这里有个啊 logo out, 然后把这里的话就会出现这个下, 呃呃呃呃,不显示,然后这个下一档的话要关机,略略不退,就是重启,这个就是退出吗? 呃,这里的话 这是这个电脑的这个顺牌的,呃,关机重启,然后我们进行一个传输文件,传输文件的话,前面讲的就是可以第一种方式的话,可以通过这个 u 盘传输, 这个顺派上的话,这里有这个 usb 接口,就是这里有 usb 接口,呃,电脑上有 usb 接口,这样的话就可以。呃通过这个 u 盘传输,但是呃 有的时候可能你身边的话也没有带 u 盘,所以这是缺点,缺点的话就是 u 盘什么牌和电脑都要在附近啊。优点的话他都是有现成的这个硬件,硬件的一个接口。 嗯,第二种方式就是 vnc 的传输方式, vnc 的话传输的话,呃就是通过这个 vnc 呃查看器,他自带了文件传输的功能,然后 vnc 连接之后就可以进行一个传输。 然后速腾派的话,首先要开启这个 vnc 的一个服务呃服务器,然后更能电脑的话需要装这个 vnc 的查看器,这个的话前面通过这个 vnc 连接的时候,连接速门派的时候, 呃就已经安装了这个 vnc 长期,然后为了不要每次的话都用手动的启动这个 vnc 的 服务器,就可以把这个 vnc 的这个服务器设置成开机自信,就是你顺拍一打开的话,这个服务器就呃就可以运行了啊。这里的话我们可以通过这个 使用菩提或者是如果是温度系系统的话,就温度系系统的话可以通过这个远程桌面去登录这个顺派,然后这个中端面面通过这个 nano 编辑系这个输入这个舌度 nano, 然后呃去修改这里的 vnc seven, 然后这里的话就第二步的话就是像文件中输入以下的信息,写入 vnc 的一个配置信息,这些信息的话直接复制,然后呃粘贴在这个文件里面, 然后按一下这个 ctrl s 保存,然后再看一下这个 ctrl 加 x 退出文件,然后这里的话就是再输入这两条命令,然后重启一下,就就是这些这五个步骤的话,就是把这个啊 vic 的服务器设置成开机自启,具体的我们可以操作一下, 不过我这里已经设置好了,所以的话这个结果呢?首先是啊,可以通过这个菩提去设置,呃, 可以通过这个服体去这登录这个命令哈,也可以通过这个远程桌面去登录,然后打开这个命令哈,然后执行这条命令, 然后这里的话是已经呃写入的文本的一个信息,加 ctrl s 保存, ctrl 加 x 就是退出, 然后这是前面的一步,第二第一步,第二步,然后呃第四步的话就是输入这两条命令,舌度这个,然后舌度这个,然后再关机重启舌度 pow 就可以了,我这里的话已经设置好了。 呃,设置好了之后呢,我们就要在呃这是第一步,第一步的话就是把这个顺派的 vnc 服务器打开,第二步的话就是通过这个电脑端的文件通过这个 vnc 传输到顺派, 呃,这个操作的话就是先要在电脑中的 vic 查看器去登录连接这个数门派,登录的方式的话就是输入这个数门派的 ip 地址,呃,我们可以操作一下,因为刚刚这个 ip 地址的话, ip 地址在这里可以看到,也可以通过这个 呃迷你行去看 host 杠开 好像不是这个秘密啊,在这里在这上面的话,他就有一个的 ip 地址,幺九二点幺六八点幺三七点幺八零,我们就是可以在电脑端打开这个 vic, 然后哦这是以前的,现在 ip 地址变了,我们就要输入下,呃,幺九二幺九二点幺六八点幺三七 点幺八零,然后点击回车,这里的话就在连接,我们这里就是看这个,这里是通过这个 tcp, 呃,去这个连接,我们就看 tine 六,然后输入你这个数门派的一个账号和密码, 嗯,保存这个密码,然后点击, ok, 这的话就是连接成功,就相当于,呃,也是通过 vic 的服务 方式去连接了这个电脑和竖门派之间,然后我们这里的话就可以进行一个传输,首先的话就是电脑端的文件传输到这个, 嗯 嗯,顺派,我们可以点击这个,在这个窗口的上面,我们把鼠标放到这里,这里会出现几个功能,我们选择一二三四五,第五个,这里有个这个文件传输这里的话我们就可以去啊,选择这个文件的这个位置,我们随便选一个,这里有个 vi 啊,这桌面的话有一个 vi 的一个文本, tst 文本,我们就选择传输这个,首先看一下这个桌面的话, 看可以看到这个桌面,这里的话是没有这个文件的,我们是这个温度之下的文件,我们选择这个文件,这个桌面 选择,呃,这个 tvi 文本,点击打开,然后这里的话会出现一个 小的窗口,上面会显示你传输的文本的内容,然后如果传输成功的话,我们可以在这个桌面看,看到这里的话就是一个 vi 的一个文本,这个 tst 文本, 这的话,呃,这是直接通过这个拍摄或者 c 语言的这个编辑器,编辑器打开的, 我们关闭这个也可以通过这个啊, 我们命令行去。呃,读取这个文件的内容,这个的话就是下节课讲的这个命令啊,下下次视频讲的这个读取文件的, 这的话就相当于把速腾派和电脑之间,电脑之间的这个文件传输给速腾派,然后我们再来实现这个速腾派传输给这个文本文这个电脑,然后我们是通过这个 vianc 查看器,然后这里的话有一个这个 when is it silver, 就是 v c 服务器端,我们点击这个,然后然后这里的话有一个这个多选的,我们点击这里的话有个 vr 全是否, 然后点击这个我们就选择这个文件,你看这里的话就是迪斯科托吧,就是把文件传输给这个桌面,我们选择这个送人派中的文件,比如说我们看他的桌面有一个 led 点 pyled, 一点 py 吧, led 二选中文件点击 ok, 然后这里的话就是通过这个顺派中的文件传输到这个桌面,可以看到这个桌面的话就有那个立德二点 py 这个拍摄的文件, 然后呃这就是这个传输的功能,传输完成之后的话,他也会弹出对应的窗口,那这样的话就比较方便的传输啊,这是传输的这个文件的这个方式, 这里是呃这个步骤,这里的话会有一个记录传输这个文件, 这里有网 的一些内容。然后第三种的话就是 ftp 文件传输协议,然后这种一般是要传输额外的工具,然后运行之后的话,我们可以看一下这个,呃,执行一下这个舌度 关机魅力下载档 shutdo 档位,下载档杠 h, 嗯 w w 就是就是关机的命令,然后过一会的话,这个电脑他的顺派的话就自动关机,就是不要通过这个 电源线去给他关机,就是通过这种命令去给他关机,呃,减少这个系统的这个损耗,因为他关机的时候会保存数据,通过这个命令行的方式,他会先保持数据,然后再嗯关机,通过电源的话,他会呃,会对这个系统造成这个的话,就相当于 远程桌面服务结束,就相当于这个是开关机了,然后这个服务就结束了。然后今天主要是讲通过这个几个常用的这个开关机的命令,以及这个 vc 这个软件 进行顺拍和电脑之间的一个文件的一个传输,在没有 u 盘的时候,然后谢谢大家。

欢迎来到由微雪电子打造的树莓派系列教程第六期树莓派的 usb 启动我们在日常使用树莓派的时候,通常将系统安装在 tf 卡上, 由于 tf 卡读写速度相对比较慢,对性能就会有影响。我们可以将高速的固态硬盘通过 usb 接口来连接树莓派,使用 usb 启动对树莓派的性能会有较大的提升。 下面就来介绍下两种 usb 的启动方法。使用 rasparai pie imager 设置 usb 启动。使用 raspai gunfi 设置 usb 启动。 准备工作树莓派四 b 主板至少八 gdpx 卡和读卡器,带有 hdmi 接口的电脑显示器或电视 hdmi 母口传 micro hdmi 功口 minih dmi 转 hdmi 线五福三安电源适配器带有 usb 转接口的固态硬盘不推荐使用优盘和机械硬盘,读写速度提升不大。 使用 rasparapi imager 设置 usb 启动,给树莓派烧录引导程序。将 tx 卡插入读卡器连接电脑,打开 rasparappai image 软件,选择操作系统下的 miss laneysutility images, 选择 boot loader, 选择引导模式。这里我们选择 usb book, 即 usb 启动, 等待引导程序烧录完成后,我们将 tf 卡插到树莓派上开机,第一次开机需要耐心等待,当绿色 led 将以稳定模式闪烁,显示屏将成绿色, 此时关闭树莓派,并取出 tf 卡给固态硬盘安装树莓派系统,打开 win 三二 disc imager 或者 raspberry pi image 烧录镜像过程可以参考第三期视频的开头。安装完成系统后, 将固态硬盘插入树莓派的 usb 三点零接口,等待开机成功就从硬盘启动树莓派系统了。 使用 respect 设置 usb 启动,先将树莓派系统烧录到 tf 卡上,烧录过程省略 a few moments later, 烧录完 完成,将 tf 卡插到树莓派上,开机,打开树莓派终端,输入 sudoraspec gunfig 回车确认,选择 advance options, 选择 bootloader order, 选择 usb 启动。当提示 usb 为默认启动设备时,按下回车键确认,选择 finish 重启树莓派,等待开机成功就从硬盘启动树莓派系统了。 欢迎小伙伴留言提问,教程制作不易,记得点个赞哟,我们下期再见!

大家好,我是阿乐,今天教大家用素眉派拍摄延时摄影,先给大家看一段我拍好的视频, 这段视频是由一张张的照片拼接而成的, 我从上午十点开始拍摄,拍到晚上七点,定时一分钟拍一张,总共拍了五百多张。 拼接照片的时候,一秒二十五针,五百多张的照片就浓缩成了这十九秒。来讲一下需要的硬件,一块树莓派, 我的是二代 b 型,装的是官方图形界面的系统,这里我就默认大家已经懂得如何装系统,并且懂得基本的操作,比如 ssh 远程登录、在终端输入指令等。 我们还需要一个 usb 摄像头,注意是 usb 摄像头,不是数媒派官方的 csi 摄像头。我今天讲的这些指令只适用于 usb 摄像头。当然我们还需要一个电源适配器,用来给数媒派供电。 软件方面,我们需要安装 fs w e b cm 这个摄像头,软件 在素美派中端输入 sudo app, 因道 fs w e b cm 我们需要先安装这个软件。敲好回车, 现在已经装好了,并且已经是最新版了。有关于 fsweb cm 这个程序的详细参数我就不展开讲了, 在这里我只讲拍摄一张图片的方法。以这一串命令为例,这串命令是, fs w e b cm 空格键反斜杠 dv 反斜杠 vip o 零空格键两杠 no, 在一杠八呢, 空格一杠二,空格六四零乘以四八零空格反斜杠空 反斜杠派反斜杠 ts 点 gpg。 我们在速媒派中端敲入这行命令回车, 这样子他就会抓拍一张图片,就在轰派这个文件夹下。那你看,我们来到轰派这个文件夹,这里有个 case, 点 gpg, 点开这个就是我们刚才用摄像头抓拍的图片。 来讲一下这条命令的意思,这里反斜杠 dv, 反斜杠 vip o 零 指的是指定操作设备,如果你竖眉派上插有多个 usb 摄像头,你就可以加上这个指令, 指定是用哪个摄像头来拍照。如果只有一个摄像头,不加这个也没问题的,不加的话他就 就启用默认的摄像头,然后后面这里两个 no, 再一个八了,这个他代表的是拍出来的照片,不需要时间搓, 不加这个也可以,不加的话拍出来的照片就会有日期时间。再往后这里杠二空格,六四零乘以四八零,这个是设置分辨率, 这个得看你的摄像头支持拍多高分辨率的照片。像我这里是设置拍六四零乘以四八零,你看一下这张拍出来的照片,他就是六四零乘以四八零的, 后面反斜杠横,再反斜杠派,再反斜杠太子。点 gpg, 他代表的是拍一张照片命 名为 ts, 然后照片的格式是点 jpg, 这张照片他就存储在轰派这个文件夹下,你看轰派这个文件夹下,他就拍出了这张 pass, 点 jpg 这张照片。 如果大家执行这条指令后,拍出的照片是黑色的,什么也没有,那就说明摄像头还没准备好。这时候我们把指令改一下, 在这个分辨率后面加上一个杠大写的 s 空格,加个十, 这是什么意思呢?加个杠 s 十,他的意思是跳过前面的十针,然后再去拍,就是如果摄像 启动有一个延时,那么我们让他跳过前面的几针以后再去拍,就能拍出有内容的照片了。 到这里大家就发现了,要拍一张照片怎么那么麻烦呀,需要输入那么多的东西,难道我每次拍照片都要输入那么长的东西吗?这时候我们可以打开拉拢编辑器,然后敲下三行代码, n a no, 就是这三行代码。第一行,井号叹号,反斜杠 b i n, 反斜杠 b a, s h。 第二行 d a, t, e 等于前的这个符号一个括号,然后 d a、 t e 空格加引号百分号 y 杠百分号 m 杠百分号 h 杠 百分号 m, 引号括号扩回去。第三行, f s w e b cm 空格两杠 no, 杠八呢?空格杠二,空格六四零乘四八零,空格杠 s, 空格六十,空格杠低,空格二,空格杠 f, 空格二,然后空格反斜杠空反斜杠派反斜杠 w e b c amp。 i cs 反斜杠 一个钱的符号 d a t 点 gpg。 这三行代码是什么意思呢?他的意思是拍一张照片,分辨率是六四零乘四八零,不需 需要时间搓。跳过前面的六十针,然后设置两秒的预补或延迟时间, 然后接下来是设置要补货的针数,二就代表是两针。然后拍出来的照片,他就以年月日十分来命名, 后缀式点 jpg, 这些照片保存在轰派 web、 cmp、 ics 这个文件夹下,我们打好这三行代码就保存一下,然后退出, 写入 ctrl o 起个名字,文件名我起为 c a p t ur 一点 s h。 当然这个 c a p 一 ur 一是开不全啊,随便起的啊,但是后缀一定要是点 s h, 因为我们在编写一个脚本吗? 我们写入之后,打好这个文件名回车,然后就关闭这个拉拢编辑器。好到这一步,我们先创建一个文件夹,就是用来存放这些照片的文件夹, 这个指令是 mk d i r 空格 w e b cmp i cs。 这个文件夹就是我们刚才指令中呃,要存放的那个文件夹吗?还没有,我们就新建一下,回车,他就建好了。好,接下来我们给刚才新建的这个 开不起点 s h, 这个脚本给他赋予一个运行的权限, c h m o d, 空格加号 x, 然后空格 c a p t u r e, 开不全点 s h, 给他赋予一个运行的权限, 豪宅获得运行的权限之后,我们就运行一下点反斜杠 c abt ur 一点 sh, 打好之后我们回车。 好,这样子他就完成了这张照片的捕获,并且把这张照片存在了这个文件夹下面。你看 文件名是二零二一杠零九杠幺零杠四五点 gpg, 那么我们来到这个轰派这个文件夹一下,你看这里是轰派的啊路径。 然后有了这个文件夹, w e b cmp i cs。 打开,他就以这个年月日时分为文件名,拍出了一张点 jp 七的照片, 打开,他就是这样子的拍到了我这个录制的手机。 我们运行这个脚本来拍照,只有短短的这一串东西,那我们刚才打指令的话,那一长串的东西就很长了,是吧?如果用这一条指令来拍照的话,就得打那么长。 现在我们把它设置为脚本,只要输入这一小串,他就可以拍照了,而且自动以系统的年月日十分来给这个照片命名,这样子我们就一直拍一直拍就得了,就不用手动给他输入这个文件名了, 好让树莓派拍照。我们现在已经搞定了,接下来我们需要设置树莓派帮我们定时拍照,我们不仅让他来帮我们拍照,还需要他来定时帮我们拍照。我们总不能一个人守在这里,每隔一分钟又敲一次这个指令吧? 我们让系统自动运行,一分钟,运行一次这个脚本,他就每隔一分钟给我们拍一张照片了。 在终端输入 c r o n t a b 空格杠,一回车,我们启用一下这个定时任务,他说以哪种方式打开啊?那我就以拉钩第一种一回车好进来了, 把光标移到最后,最后这里来,井号这里来,我们输入五个星号,一个 两个空格间隔开啊,三个、四个,五个,五个这个星号,然后空出一个空格,输入我们那个文件路径, h o m e 反斜杠,嗨,反斜杠,注意,这里输入的是我们刚才新建的那个脚本的文件路 路径啊,就是开不却点 s h。 我们来看一下开不却点 s h, 他是在这里的,在轰派这个文件路径下,是吧?这是一个脚本点 sh 文件吗?那我们这里在中端这里输入的时候,他就是轰派, 然后开不却点 s h c a p t ur 一 cap t ur 一点 s h 开幕器,点 s h, 然后敲一下空格, 敲一个大于号,再敲一个反斜杠 dv, 反斜杠 nul, 空格二大于一个 m 雨的那个符号一。好的,就敲那么多东西,五个星号啊,这个脚本的文件路径,然后这个大于号,反斜杠 dv, 反斜杠 nul 空格二大于雨衣,这个敲完之后我们也保存一下,写入 ctrl o, 以什么命名呢?就以他默认的这个吧,无所谓的,然后就回车确认,然后就离开, 离开了之后他就开始执行这个定时任务了,就是一分钟给我们拍一张照片, 我们来到这个文件夹下,你看这张就是他拍出来的第一张二零二一零九幺零,然后杠五二, 那么一分钟后他将出现一张二零二一、杠零九、杠幺零杠五三的照片,哎,出来了,你看二零二一,杠零九,杠幺零杠五三, 然后回到终端,这里给大家讲一下刚才这些指令是什么意思啊? 这里五个星号就代表每一分钟执行一次后面这条指令。 后面这条指令是什么意思呢?是 capch 点 sh, 就是运行这个脚本,那这个脚本他是在哪个文件路径下?他是在轰派这个文件路径下, 就是每一分钟运行一次这个路径下的脚本就是这个路径轰派这个路径下的这条脚本。 嗯,在这里,你看每一分钟运行一次,后面这里大于号、反斜杠 dv, 反斜杠 nul, 还有这个二大于雨衣,这个是什么意思呢? 这个是指把标准输出和错误输出都丢弃掉,扔到黑洞里面去, 就大概就是这个意思了,反正我们照抄就得了,就不管他那么多。好,退出来,我们没改什么,我们回到这个 w e b cmp、 i cs 这个文件夹中,你看已经拍了这么多张了, 第五张拍出来了,拍到了我录制的这个手机,那么这样我们就完成了让素梅派帮我们拍照,而且是每一分钟拍一次, 有朋友可能就问了,那我不想一分钟拍一张行不行啊?可以的,我们进入这个定时这个界面,设置这个五颗星号就可以了。 这五颗星号有不同的含义的啊,今天我就不讲了,就说你通过设置这个星号,可以设置每天的什么时候拍照,多少分拍照,或者多少秒拍照,甚至是每月每一天的什么时候拍照, 哪个时间段拍照都是可以的啊。呃,就展开讲,就有比较多的内容,我今天就不展开讲了,反正如果你像我一样是要隔一分钟拍一张的话,那就在这里打五颗星号就得了。 最后来总结一下啊,我们用素梅派来拍摄延时摄影,首先要下载 fs w 一 b cm 这个软件,然后懂得用他这个软件的指令来拍照,然后我们编写一个拍照的脚本,把这些拍照的指令都扔到这个脚本里面。 还有拍出来的那个照片的文件名是怎么命名的啊?我们是用年月日十分来命名的,也是在这个脚本里面来。呃,做这个事情啊, 我们编写好这个脚本之后,就启用数枚派的定时任务,让他一分钟帮我们拍一张照片。 你别看有那么多东西,其实就这么简单的几步而已啊。好的,本期视频就到这里,感谢大家的观看,我们下期再见。拜拜。

大家好,我是老刘,今天跟大家分享的是如何在 windows 下稍写数媒派官方的 rap 系统到 tf 卡里。 那目前数梅派所有的硬件版本都是没有内置存储芯片的,都是通过 tf 卡来安装系统启动的,早期的版本有用 sd 卡的。那现在的派二派三用的都是这种小的 tf 卡, 容量大小呢?在官方的文档赛踏部里有提到,推荐的参数是八 g 克拉斯四的。这个也不绝对啊,要看系统镜像的大小。那前面第十八期视频也有提到过,有些第三方系统只有几十兆,那这种系统用个一 g 的卡就足够了,那我这里用的是一个十六 g 的卡。 关于系统镜像的下载安装,官方也有介绍。在官网的 haople 到昆明推神里的维斯特雷神, 也就是安装这一栏里面,他有提到初学者最好用这个 n o o b s 来启动这个 notex 呢,相当于一个安装管理器,用它启动数枚派后,再通过他的安装界面来选择安装哪个系统。我们这里不用这个工具,直接点这个 n 四二零 emax, 这里面有一些安装指导,比如在 linex 和 windows 系统下如何安装。先在官网的当漏子里找到这个 ras 点,这个是数媒派上最流行的一个系统,他这个页面有两个版本,第一个是 rap ps, 以为是皮卡丘,是带图形界面的, 这个镜像比较大,那后面这个 rap 点 jc like。 一看到这个 love you 就知道是个轻量级的版本,可以理解为经典版的。他没有图形界面,只能通过命令行的方式来操作, 当然他的体积就比较小。那我下载第一个这个带图形界面的版本,前面这个链接是种子文件,可以以 bt 的方式下载。那我直接下这个微博文件。 另外每个镜像下面都有个 sha 杠一这个值,这个值是教验你下载下来的文件是否完整的,那网上下载的时候呢?可能因为网络或者什么其他的原因导致文件有问题的话,通过对比这个值就能确定文件是不是好的。这种工具呢, windows 下也有很多啊, 我这里下载这个,直接下这个免费版, 下载好以后打开他这个不用安装,可以直接运行的。点这个,打开刚下载好的镜像压缩包, 也可以把文件直接拖进来,稍微等一下他计算一下那生成的这个 sha 杠一的值,跟官方发布的这个值比较一下,其实扫一眼开头和结尾的几个值,基本就可以确定对不对了, 也可以把这个值复制过来。点这个教验,出现了,这个 max 的就是没有问题的, 其实这个下载一般都没有什么问题啊,所以基本上不用做这一步教验。看一下这个 z 谱包实际上是个压缩文件啊,要解压才能得到镜像文件。如果电脑没有解压软件呢,可以下载这个七 z 谱工具,好用又免费的一个工具 下载安装好之后呢,直接右键七 z, 提取到当前的位置解压完,那这个点一美指文件就是要烧路的。 系统镜像文件有四个 g 大小,那稍写系统镜像到 tf 卡的工具也有很多啊。 回到刚才官网安装指导这个页面看一下,有提到两个工具,一个是这个 h, 另一个是这个 win, 三二,第四个一秘制。先看一下这个 h, 这是一个多平台的工具,苹果的系统啊, minixir 还有 windows 都支持, 另外他还支持直接烧路 rap 包不用解压。那官网的还有不下这个 souty 盖的,里面也有一个烧血系统的说明。 稍写之前呢,先到这个 sd 卡点 wrg, 下载一个格式化 sd 卡的工具, 这个 sd 卡的放慢器,下载这个 windows 的版本,点 alcft。 安装好之后打开,把 tf 卡用读卡器插到电脑上, 要确定好是这个 tf 卡的盘符,别电脑上还插着其他 u 盘之类的,不小心给隔了,那直接点这个防 mat 就可以了。 那以后写好系统的 tf 卡,想恢复成普通数据卡的话,也可以用这个工具,这么格式化一下就复原了啊。接下来看一下用这个艾特工具来稍写,他的官网是这个艾特点 io, 我系统是六十四位的,我下载这个 windows x 六四 potow 这个版本,这个因 solol 版本是安装版, pot book 是便携版,不用安装,可以直接运行的。下载好后解压出来直接运行这个 ix, 点 ex e, 点这个 clax, emax, 选择系统镜像可以看到这些格式都支持,包括 rap 和 emax 文件,也就是选下载下来的 rap 包,直接稍写,或者是选解压出来的这个 emax 文件都可以。我这里选这个锐谱包。 接下来选 tf 卡读卡器的盘符,他默认有识别出来,这个地方也要注意确认好,比如我电脑上开始插着一个优盘, 他默认加载的就是优盘,那我再插上 tf 卡读卡器的话,他还是选择这个优盘, 不注意的话可能就把镜像写到优盘里了,优盘里原来的数据就被覆盖了。那这个时候可以点这个衬纸选 tf 卡读卡器, 再点这个 plus 就开始稍写了。另外看一下这个设置选项里面,第一个是给官网报告一些出错信息,第二个是稍写成功后卸载 tf 卡。 第三个是 windows, 就是稍写完再把卡里的数据和镜像文件对比验证是否一致,这个会多花一点时间,一般没有必要,我把它给取消返回,然后点 flas 开始稍写。 那开始我以为烧 rap 包,因为要边解压边烧撸,可能花的时间要比直接烧伊美的文件要长。那我也简单测了一下,其实时间差不多,直接烧伊美的文件快个十几二十秒吧。 那我电脑稍写这个卡的时间也就是五六分钟的样子。另外这个 it 当前的版本是不支持中文录入的,要把系统镜像 放到英文目录下,稍写完把 tf 卡插到数梅派上,开机就可以正常启动了。 那再看一下另外一个稍写工具, win 三二第四个一,秘制。这个我们网上看到的比较多啊,官方下载地址在 socobook 上,点这个当漏的 下载,安装好之后打开他这个根据系统啊,默认显示的是中文,这个界面没有前面艾特那么小清新哈。那点这个选镜像文件路径是支持中文的 啊。这个工具不支持这个包啊,必须选解压出来的一妹纸文件,后面这个盘符也一样要确认好是要稍写的 tf 卡, 再点这个血入就开始烧血了。那这次烧血用了五分钟多一点,那烧完把 tf 卡装到数据盘上开机就 ok 了。 好,那这期的分享就到这,拜拜。


哈喽,视频前的小伙伴们大家好,我是一口吃掉苏门派的苏小西。在上一节课中,我们通过一根网线完成了笔记本和苏门派之间的连接,实现了对苏门派的远程操作。不知道大家有没有在课下去练习一下呢? 老师说没拍照, ip 地址好麻烦呀, ip 地址太多了,需要一个一个去检查,我都快要崩溃了。 是啊,老师,我就不一样了,我连网线都没有,我家的网线被我爸打断了。被你爸爸打断了?是啊,原本有网线的,但是我不是要做实验吗?然后就偷摸摸的把网线拔了,但那会我爸正在开会呢,然后就 把碗拿碗先给我打了一顿,难受。所以阿派,你的意思是你没有把我布置的作业给完成?呃,是的, 不过小溪老师,我还有一个问题,那个命令行操作我还不会,除了才学的关键命令,其他的我都不知道呀,俺也一样 好,这么看来你们俩问题还挺多呢,不如这样吧,你们带着这几个问题听一下这节课的内容,我会在这节课里面帮你们解决掉这些问题。除了以上问题,不知道屏幕前的大家还有没有遇到其他问题呢?欢迎大家留言跟我交流。 好,现在我们回归正题。首先想要跟大家探究的就是网络连接,大家注意看黑板。对于顺派来说, 我们想要去控制树莓派,那么肯定需要一个控制端,就像我们玩遥控汽车一样,可以通过遥控器去控制车,树莓派也是如此,当外色充足的时候,我们的控制端就是鼠标、 键盘、显示器,而现在我们减少外设,那么我们的控制端也就只有电脑了,用电脑来控制数媒派,那么电脑与数媒派之间必然要进行数据和信息的传递。 大家可以思考一下,电脑能够直接与数美派之间进行数据的传递吗?显然是不行的, 就像我们人与人之间是通过声音进行交流的,而声音却是通过界之进行传递的,所以数媒派和电脑之间也需要 一个戒指啊。派,你知道这个戒指是什么吗?啊哦,戴头上的那个戒指,今天我没有戴, 老师,我知道,我知道是网络,对吧?回答正确,还是没命聪明呢,这个戒指就是网络, 其实网络呢,简单来说可以分为两种,第一种是有线网络,顾名思义就是需要网线连接网络。另外一种呢,大家也都能猜出来了吧,就是无线网络,而且比起有线网络,无线现在更为常见,也更为方便。 所以今天我们就来学习如何使用无线网络来连接数媒派。大家附近应该都有无线网络吧, 没有也没有关系,因为我们可以使用笔记本开启无线热点功能。这里悄悄告诉大家一句,使用笔记本的无线热点功能对 对于我们后面一个步骤非常重要,我们想让顺派和电脑之间列入无线网络来进行数据和信息的传递, 那么我们是不是需要让数美派连接上无线网络呢?但是对于一个没有鼠标,没有键盘,没有显示器的数美派,怎么样才能让他连接上指定的无线网络呢? 这个问题貌似有些棘手啊,美美,阿派,你们俩有没有什么办法呢?呃, 老师,我觉得你在为难我。好了好了,不跟你们开玩笑了,仔细看我的操作吧。 想要让素文派连接上指定的无线网络,其实呢也不是很困难,我们只需要给素文派配置上一个网络信息就可以了。首先我们取出数文化的系统卡, 插入到电脑,直上电脑会自动弹出 sd 卡之中的内容,我们取消格式化, 当前这个界面就是我们 sd 卡之中的文件,直接在这里新建一个文本文件。 好,我们用记事本打开它, 在这个文件之中我们就可以写入给顺派配置的网络信息。小西老师,这个配置信息要怎么写呢?我还不会啊,俺也一样,这个问题问的好,不过我早就料到你们会问这个问题,我已经提前帮你们准备好了。 牛啊,老师,这都能预判我的问题了,不过大家还是要注意啊,虽然可以直接复制我的这一段代码, 但是大家千万不要忘记里面还有两个地方需要修改。第一个就是我们无线网络名字要改成大家自己想要连接的无线网络名字, 同理下面的密码也要改成对应无线网络的密码, 修改完之后记得保存。 最后一个步骤,要将这个文件的文件名进行修改,大家要跟我的文件名 保持一致,不要随便乱取名字, 注意文件的后罪名也是要进行修改的。 选择确定 好,现在我们网络信息配置就已经结束了,将我们的 sd 卡插回到送派之中,重新开机就好了。 下一步应该做什么呢?妹妹你知道吗?这个必须知道,就是查找苏梅派的 ip 地址。其实我也知道,怎么不问我呀?好,那阿派我就来问问你,现在我们应该怎么样去 查找宋美派的 ip 地址呢?呃,我我我可以打幺幺四查吗?幺幺四秀,你坐下吧。现在我们应该怎么样查找宋美派的 ip 地址呢? 大家应该还记得前面我提到的笔记本的无线热点功能,这个功能对于我们后面的操作很重要,现在就是这个无线热点展现自己优势的地方了, 笔记本开启热点之后,连接到该热点的设备,能够在笔记本上直接看见他的 ip 地址。哇,小徐老师,我知道了,我们是不是可以让说明派连接笔记本热点,这样就能马上查到说明派的 ip 地址了。 没错,就是这样,方便快捷。哼,其实我早就知道了,丹丹,就跟你们开个玩笑,真以为我打幺幺四啊? 那现在我带大家过一遍,怎么样利用笔记本热点快速查找数媒派 ip 地址?当然这个是有前提条件的,就是要让数媒派连接上笔记本的热点,也就是在前面的网络配置信息中填写的是笔记本热点的名字和密码。 首先我们打开笔记本的热点,我这里已经打开了,然后我们右键点击热点转到设置, 在当前这个界面中,我们就可以查找已连接设备, 应该只会有一个竖眉派,当然如果大家有其他设备连接了自己的热点,可能这里也会显示更多,但是如果这里没有竖眉派,那么大家就需要 要去检查自己的数民判有没有开机。其次就是网络信息填写的是不是笔记本热点的名字和密码, 那么这个 ip 地址就是我们数美派的 ip 地址,有了 ip 地址之后,我们就可以使用远程工具铺地来连接和操作数美派了,不过有些同学说铺地比较麻烦,不会使用命令行,没有带桌面的。好, 那现在我就来跟大家介绍一款新的工具,叫做远程桌面连接,它是现在温室自带的一个软件,不需要额外的去安装,我们直接在笔记本的搜索界面 直接搜索远程桌面,远程桌面连接,然后打开它。 但是我们在使用这个软件之前,我们需要在数目派字中做一些准备工作,安装对应的远程工具 xrdp。 小徐老师,我们现在只有一个数枚派来的 ip 地址和一个笔记本, 要怎么样才能给树莓派装软件呢?傻啊,当然是找一个软件商店啊,软件商店,万一树莓派中了新罐传染给我怎么办?当然是要装一个安全卫士了,阿派,你有毒吧! 现在我们已经有了 ip 地址,那么怎么样给顺派安装软件呢?其实我们可以利用铺贴连接上顺派,然后利用命令行来给顺派安装软件。那么复制下我们的 ip 地址, 打开铺底,输入我们刚刚查找到的 ip 地址, 登录密码,嗨以及我们设置好的密码,如果没有设置密码或者是第一次开机,那就是默认密码 rap 好,登录成功之后,我们就可以开始安装 x 二 dp, 那么安装的命令是色度 a p t godat s go, 后面加上我们的软件名字 xrdp, 然后回撤 好他这里询问我们是否需要继续,那么我们输入外继续回车,等待他安装完成即可。 好,现在 xr dp 已经安装在了数目派之上,我们就可以使用远程桌面连接来连接数目派。回到我们刚刚打开软层桌面的界面上, 在当前这个框中输入我们顺派的 ip 地址, 连接好,因为是第一次连接到一个陌生的计算机,我们 我们直接选择是同时勾选上,不要再询问 好,当前这个登录界面就是我们要输入数目派的用户名和密码,那么首先输入用户名派,紧接着输入密码 选择。 ok, 现在我们就已经进入到了顺派的桌面系统之中了。当前这个桌面大家是不是感觉有一些熟悉呢?小西老师,这个界面我见过,是我连接显示屏之后显示屏上面的那个画面,你就不能跟美美学学吗? 不过梅梅同学说的是正确的哈,当前这个界面就是我们用显示屏连接之后所显示的画面,但是 现在我们不需要连接也是可以使用的。小西老师,这样真的很方便啊,而且基本上都不需要给舒美派增加什么外设了,舒美派只需要加上供电电源和一张 sd 卡就可以操作了,我要赶紧去试试了, 没错,就是这么的方便哦。老师,我们连接工具有两种对吧?命令盘板的铺体和这个桌面 windows 自带的远程桌面连接对不对?哎呦,不错, ipad 总结的可以啊,那当然,真以为我在睡觉啊。 好了,咱们本节课的内容就到此全部结束,大家赶紧去试一试这个更为便捷的无网线连接吧,最后不要忘记一键三连啊!点赞、收藏加关注哦,那咱们下节课再见!

武当派,少林派,峨眉派,空铜派,树埋派我都见过,但是呢,这个香橙派啊,我还是第一次用。它其实是个微信电脑,和树埋派差不多,自带网口,蓝牙, wifi, 还有 type c 接口。他呢是全自 h 六幺八的,适合一点五 g 赫兹的 cpu, 内存有一点五个 g 存储呢,可以通过 sd 卡呢进行扩展, 接上扩展版呢,还能自带这个麦克风音频输出两个 usb, 然后呢,红外接车头, 用这东西做一些电子做的话其实非常容易,他呢不需要那种搭配机啊,他是基于另一个系统,所以呢跟我们平时开发一些软件呢是没什么区别的。你可以使用高语语言,可以使用 cdr, 可以使用 python, 可以使用各种各样的语言啊,完全没有太多的限制。 它和单配机一样,有各种各样的 gpl, 可以控制各种各样的外设,并且呢价格来说呢,也还算比较亲民。

this is one point two petabytes of hard drives and this is a raspberry pi and using this giant server i'm gonna plug all sixty hard drives into this one raspberry pi and build the piedabyte or a pietabyte or peta pie let me know in the comments what you want to call this thing for now i'm calling it the petabye pie project a lot of people said this will never work, but there's only one way to find out and to get to today i had to solve a lot of problems the chip in the raspberry pi was never meant for this kind of thing it only has a tiny bit of bandwidth and the thing it uses to communicate with the hard drives its pci express bus might not even be able to work with all the drives last year i worked with broadcomb engineers to patch the linux kernel to get sixteen drives working, but getting six well that adds another layer of complexity and what about power and space for the drives well luckily, i have this storinator for that and you might notice i'm in the workshop i couldn't even fit this thing in my office for a normally record so i had to boot out red shirt jeff and film here, but since i felt sorry for kicking out i made sure forty five drives threw him a bone with the front panel design i think he approves once we get all the drives working if we get all the drives working we're also going to have to deal with the pies networking bottlenecks i guess i should make it obvious right away don't try this at home not that many people have sixty hard drives and a stornator sitting around, but there's a reason forty five drives doesn't sell a stornator pie it might work, but it's gonna bottleneck before we get into hardware i need to put into perspective how massive if a petabyte is i could download all of wikipedia on here fifty thousand times my nas the one i loaded up with eight terabyte hard drives that thing is forty times smaller than this petabyte of storage of course it's gonna be a while before normal home users or pack even s tier data hoarders deal with petabytes just having somewhere to plug in all the drives as hard and that's why i called up forty five drives they build a range of storage servers and their biggest one is this one the storynator xl sixty and it is massive i mean look at this thing full disclosure somehow i convinced forty five drives to send me the server and all these hard drives they told me they want to see what wild and crazy things i can do with it, but i had to promise the insurance company i wouldn't let redshare jeff near it i was thinking about unboxing it on camera but fedex already did luckily nothing was damaged in spite of this box completely missing one of its corners if i pop the top cover off you can see slots for sixty hard drives and if you just pop the drives and you don't even need a tray to hold them and looking closely inside it looks like they even have some three t printed parts in here after i pop off the back cover you can see a twenty six core z on cpu, a super micro server motherboard with seven pcie slots a dual ten gigabit ethernet card, two hundred and fifty six gigs of ram and we're gonna rip it all out sorry to whoever cable manage this thing it looks great right now, but it's gonna get a little messy first, i took out the boot ssds after making sure one had an identifying mark from the factory then when i pulled the network card i found a nice surprise one thing i do like is it looks like all the screws in their chassis are the same thread so i could mix and match these screws which is nice standards it's nice to have them phillips heads it's nice to have those two if apple built this thing there'd probably be five different kinds of screws and half of them would be penalobes i unplug the atx and cpu power connections plus a little purple connector that i have no idea what it's for and then i went to unplug all the hba drive connections and realized they were in a weird order looks like they have c a b d for the order of these cards which is not as intuitive as you'd hope it's probably important for astornator since forty five drives has a fancy dashboard that can show where the drives are physically located in the system, but the ordering won't matter on the pie look at that even the motherboard screws are the same how nice that is nice and it's especially nice because there are so many screws here several motherboards seem to have more screws and then the standard ones captain obvious there, but it is interesting a lot of pc builds i've seen only have like six screws holding the motherboard and there can be an awful lot of board flex proto case the division that actually stamps out these cases embed studs in every position so there are nine screws total somewhere someone screaming at me to use my static protection where's your anti static wristband you don't even ground the anti static matte you're using so instead of all that enterprise grade hardware we're going with this this raspberry pi compute model four has a four core arm cpu, one pc express lane, one gigabyte ethernet and a paltry eight gigabytes of ram i'm going to put it on this i o board then i'm going to use this pc express switchboard to plug in four of these this is an enterprise grade raid card and what's funny is this one is actually a little newer than the ones that came with the storinator some people told me i should go the easy route and instead of using four of these hbas i could use a thing called assas expander and plug all the drives through that, but the story nator's custom back plane boards down here that plug all the drives in it might not work that way plus i wanted to see if a pie could handle enterprise grade storage and if you want the best performance you're going to use four of those fancy raid cards not a bunch of expanders of course if you're only entering in performance go check out linus video on a petabyte of flash, a three d printed an atx adapter plate for the i o board and drilled out the atx mounting holes to a quarter inch, so they'd slip over the stornator's motherboard standoffs that thing lets me mount the pi so all the i o goes out where normal motherboard's io is i also three d printed an i o shield, but because of a little threaded screw that was stuck in the case the i o board stands a little proud and the i o shield won't fit, so i just tossed it more airflow right, but when i went to put in the pci express switch i realized the thing is actually pretty big with the wide spacing between the slots this will be interesting i'm literally gonna have it on top of the pie, but that's okay i grabbed a little piece of cardboard to insulate the boards from each other at least temporarily, but i also had to get a molex power connection to each slot on the switchboard and that means the power supply cable management had to go all right we're gonna snip these the power supply had two molex power connectors, but that was it so i didn't have enough power connections so i hope that i have an adapter looks like i do have a couple so i'm going to go seda seda to molex for two of these since that's what the this board needs i finished wearing up the power then plugged in the usb three cable adapter that goes from the pies by one slot to the switchboard's input as long as it doesn't blow up will be good indeed after i got that sorted i started plugging all the back planes into the hbas so the fun thing is for the pi this doesn't matter too much what matters is getting them plugged in so i am going to try to get these organized, but if they aren't that's not the end of the world in the end i didn't really get them organized i just made sure they all clicked into one of the free ports no click, but it it's in well maybe accept for that one the next thing i need is a power switch to be able to turn on everything and that's because the i o board doesn't have an atx power header so to turn on the power supply, i could either jump the right pins on its atx header or use a fancy switch like this one unfortunately it looks like the leads on the switch are soldered so i couldn't get it to slide into the power buttonhole, i'll just have to have it bangling oh well the last thing left is to install the actual pi compute module, compute module four goes here i think that's everything i should make it clear before i started this build i did do some testing already at my desk with four hbas and one hard drive plugged into each one and if you think that looks messy just think what it would look like if i plugged in sixty drives that way, but i did that four drive test and i made sure that drives would at least power up be recognized and worked together in a raid zero ray with that setup i got about four hundred and sixteen megabytes per second so i think this will work, but like i said the only way to know is to test it at scale all right here we go this is the fun part well it's fun, but then the problem is to move this i'll need to take them all back out again now the hard drives forty five drive cent are seagate exos x twenty drives and you might think about jamming any old drive in a system like this, but you shouldn't even if you're using a pi the performance and warranty are typically better on enterprise drives, but that's not usually as important for someone building massive storage areas the two most important features are reliability and how many hard drive vase are supported these drives have a five hundred and fifty terabyte per year and two point five million hour mtbf rating assuming they don't fail right away they only have a five year warranty though so don't focus too much on the mtbf in fact seagate says they focus more on afr or annual failure rate instead i love reading back plays as hard drive reliability reports and sure seagate isn't always on top but most of the models are pretty reliable but even if we had the worst drive ever that's the whole point of a system like this there are sixty drives in here we should set them up with redundancy because with hard drives it's not a question of if one fails, but when that's why i'm gonna need to work out a new plan for backing up a whole petabyte because even if all this expensive hardware works great, i still need a three two one backup if i want my data to be safe check out my video on that from last year the second important thing is how many drive base are supported not every hard drive can run inside astornator if you look at the specs on a desktop drive they don't even say how many dry bays are supported because they're just not built to handle vibrations you get in a server like this even iron wolf pro drives are only rated for up to twenty four bays per server so they wouldn't be a good choice the exos drives you can put as many as you want there's no limit except for maybe the size of your rack and as an added bonus these enterprise drives are like party balloons they're filled with helium instead of air they're still pretty heavy though, but the helium reduces friction in heat with so many drive platters spinning around inside so when you build your first data hoarder setup make sure you choose the right hard drives when you get to petabyte skill it actually matters a lot, but enough about hard drives they're all installed we tied it up the back of the system a little bit at least and it's time to see if this thing boots i'm gonna boot raspberry pios on here and i actually already applied the patch you see on the screen right now to the open source mpt three sass linux driver that makes these hbas work on the pi, i have instructions for how to do that on get hub in a link below, and you might have noticed i had to swap out the fancy power button from forty five drives for this little power switch since the compute module io board doesn't have an atx power input, i have to use a separate switch to turn on the power supply, but that's wired up the drives are in and the pie is ready i hope let's see what happens that's pretty loud, but i guess you kind of need this much airflow when the hard drives by themselves can eat up to six hundred watts of power ha, i guess the redundant power supply works and it's a good thing both of these tiny power supplies can do let's see twelve hundred watts i was also worried about the startup surge when you boot up all these hard drives at the same time i know the fancy raid cards i'm using are supposed to stagger the hard drive spin up, but i wasn't sure if it would work or not with this setup, but it looks like it did because i can hear the different drives spinning up at different times all right we'll give it a few minutes to boot and hop over to the terminal to see what happened first, i made sure i could see all the hbas using ls pci, then i also checked to make sure it was using the mpc pt three sass driver which is the patch driver i had to compile into pilos kernel i also checked the system log and saw it had initialized a bunch of discs, but when i checked out how many drives the system could see with lsblk it was only showing forty five drives i mean that'd be great for a sponsor sideway, but i really wanted to see all sixty so i shut down the server and noticed all the hbas still had blinking green lights so they were all at least getting power that one wasn't all the way in oh look at this the card's not all the way in yeah it came out as i plugged all the devices in let's try this again this time i watched as all the discs were getting initialized and it was fun listening closely to hear the different sets of hard drives spinning out here all the drives slowly spinning up, look at all these this time when i run lsblk it showed me all sixty hard drives i also check the model for all the drives and it's showing the right model number so the next step was to put the drives in an array and see how they perform because i'm not a masochist i pulled out my mac plug the pi into my network and started managing it over ssh i grabbed the ip tried logging in then realized i never put my macbooks sshg on the pi, so i headed back to the office and did the rest of my testing from there first, i tried raid zero which spreads data out over all sixty drives this is a terrible idea for you done and see because if anyone drive fails all your data goes poof but it's also the simplest and fastest raid level and doesn't require any special data calculations to run on the pies cpu which just doesn't have the horsepower for fancy things like parody on a sixty drive array, but i kept getting failures during the last part of the formatting process it kept dying with input output error while riding out and closing file system checking the system log i saw a bunch of buffer io errors and i also noticed some fault state messages with an air code like ox two six two, three or ox five eight five four they also rebooted a few times while they bugging and sometimes not all the disks would show up whenever that happened the last message would be something like start watchdog error so sometimes during boot the driver would just die for no particular reason but about half the time at least all the drives would show up i also noticed md admin would report the array as broken after formatting filled and at that point one or two hard drives would just be gone until i rebooted if i couldn't format the raid zero array i couldn't mounted either so that was a dead end and at this point i was wondering if maybe the vibration when all the drives started riding could be an issue i mean it shouldn't be, but exploring that idea i actually have a size mograph my raspberry shake running in my basement and sure enough when i turn on the storm eater, i can see the fan noise up in this band then whenever, a group of drive spins up it registers pretty clearly and i remember around a decade ago there was this masterpiece of a video don't shout at your j bugs they don't like it, but no i mean these exos drives are built to handle the vibration and a chassis like the story nator and i'm not actually yelling at them so i don't think that's it vibration is definitely something to think about, but i don't think that's my main issue so at this point i switch tracks and installed zfs i've actually tested it on the pi before and it usually runs faster than standard rate on the pi, but then i realized you have to have kernel sources to install zfs and i didn't because of the custom kernel i built and getting that set up would take a bit of time so i moved on to plan c, which was btrfs btrfs is already enabled on pios, so i just installed the extra package to manage volumes and used makefs to create a btrfs raid zero file system and it worked i got a one point o seven petabyte or one point two petabyte raid zero storage volume i mounted it and ran my benchmark stripped, but it was a little disappointing earlier with one drive on hba, i could get around four hundred and sixteen megabytes per second now with all sixty drives in btrfs raid zero, i'm only getting two hundred and thirteen megabytes per second almost half the performance and random rights were less than twenty megabytes per second, but the end goal is to see how well this thing performs on the network, so i installed samba connected for my mac and copied over seventy gigabytes of video files at first, it was getting over a hundred megabytes per second, but after a few seconds it dropped to thirty then nothing then thirty again i used a top to monitor the pie, and there were a few spikes in cpu usage, but after copying about three point five gigabytes the copy just stopped completely and failed btrfs said some device is missing that's hotly similar to the problem i had with md raid zero earlier and the system log showed a similar error too that fault state with the fifty eight, fifty four code at this point i shot in the email off to broadcom about it, but in the meantime, i also remembered btrfs has a single mode, which puts the drives together, but not in raid instead of splitting uprights across all the drives it would store complete files on different drives so i set up a single btrfsfime did the net were copy again and then the same thing happened error messages in the log some device is missing in btrfs and looking at the array it looks like one of the drives device twenty three just poofed out of existence so i went for a hail mary i went back to the simpler linux raid setup using md admann this time using linear which is similar to btrfs's single layout with the drive setup sequentially instead of altogether in a stripe, and it was interesting seeing each drive get formatted one at a time like here when it was formatting sdaj and at the part where raid zero it wrote to each drive in sequence instead of all at once and that seems to have made it work i mounted the drive and of course since this arrays so big and the pyres so slow it took six minutes just to mount, but it worked so i ran my benchmark on it the benchmark was better getting two hundred and fifty megabytes per second, but still nowhere near the performance i got with just four hard drives in this case that's because the way a linear array works it's only really benchmarking one drive at a time so i did another network copy expecting it to fail, but no it actually worked this time there were a few times when the copy slowed down to thirty magabytes per second, but overall it averaged seventy two, but that means this storage setup can't even max out a one gigabyte network, but hey at least the copy did finish seventy four point three one gigabytes in seventeen minutes and eight seconds extrapolating that out to one point two petabytes it would take one hundred and ninety two days and that's kind of the limit at least with all sixty drives at this point i talked to the broadcomb engineers now i should mention that none of this setup is a supported configuration we're using a pie in ways it was never meant to be used and we're putting enterprise storage cards in a situation they were never made for, but the engineers did have a couple ideas first the firmware on the cards was version five, but the latest version is twenty two so a firmware upgrade could help a little, but when i tried it failed it looks like that has to be done on a machine with an x eighty six processor and the pies little arm cpu couldn't cope second they looked up the errors i was getting and that ox two six two three error apparently means the driver detected a data corruption during a storage operation and seeing as i have a bit of a hacked together solution for both of those things i wouldn't doubt it so my best guess is that when the pci express bus is sending tons of data to and from all sixty hard drives through all four cards at the same time something is flaky it might be the power delivery to one of the cards or one of the connections on the pci express switch or maybe even that usb three adapter cable that goes from the pi to the switch i don't know so yeah i mean we got one point two petabytes on the pie it worked at least with no redundancy and no speed up, but would i recommend this setup no, not at all i took the pie to the bleeding edge and it started bleeding out there's a reason forty five drives uses a z on cpu and a server mother for their servers they can handle sixty drives easily and even do it with ten gigabit networking or even more than that the pi it couldn't even saturate a one gigabit connection but heck if you have an old storage server sitting around and a ton of hard drives you could run it on a pie, but don't expect the experience to be pain free make sure you subscribe i'm gonna follow my own advice and swap back to the forty five drives hardware i'm also going to review this thing compared to some other enterprise options like this one hundred drive server patrick reviewed on serve the home and see if i can mount this massive three hundred pound server in my new rack oh, and if you want to see me build a new rack head over to gearling engineering where my dad and i had just posted a new video about it until then i'm jeff gearling。