<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
That's what threw me though was he didn't want us to actually mount it </div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> cs615asa-bounces@lists.stevens.edu &lt;cs615asa-bounces@lists.stevens.edu&gt; on behalf of Robert Herley IV &lt;rherley@stevens.edu&gt;<br>
<b>Sent:</b> Monday, May 6, 2019 2:08:21 PM<br>
<b>To:</b> CS615 - Aspects of System Administration<br>
<b>Subject:</b> Re: [cs615asa] Problem about homework5</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">When you attach a volume to your instance, the volume name for AWS EC2 is &quot;<font face="monospace, monospace"><b>/dev/sdf</b></font>&quot;, but the instance OS itself will probably assign a different volume name.&nbsp;
<div><br>
</div>
<div>You can read more about it here:</div>
<div><a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.aws.amazon.com%2FAWSEC2%2Flatest%2FUserGuide%2Fdevice_naming.html&amp;data=02%7C01%7Cbbiggs%40stevens.edu%7C164f393019054ff759ac08d6d24ddc77%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C636927629209287023&amp;sdata=vYXYNXvEYed4UYuDZCbIrVPfp31irIaXPcSlqUg2A9g%3D&amp;reserved=0" originalsrc="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html" shash="aYvFhILZCE2u1CRZyEbnNPgkQvggu6pmJaMokQeaQXQuIwipg2/mEMbj1c8Fb4x&#43;N6/AE6BV/lIOi8jzvJ/qW3QAC7&#43;jbtm4dTBd9fPjENVGF44zHYWY6aXNs3X&#43;jTEJpJdKHAqosow9y0Zds8Bsp2IpYgDbPhCzQRucGxzhHdo=">https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html</a><br>
</div>
<div><br>
</div>
<div>But for the NetBSD amis, the correct mapping isn't shown at that link.</div>
<div>If you look at <font face="monospace, monospace"><b>dmesg(8)</b></font> after you mount the volume, you'll see what it gets mounted as<b><font face="monospace, monospace">.</font></b></div>
<div><b><font face="monospace, monospace"><br>
</font></b></div>
Like the Professor mentioned in the last class, you'll also want to write to the entire disk, which is partition &quot;<font face="monospace, monospace"><b>d</b></font>&quot;.</div>
<div dir="ltr"><br>
</div>
<div>Hope this helps,</div>
<div>Rob</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, May 6, 2019 at 12:47 PM Yuchen Zeng &lt;<a href="mailto:yzeng10@stevens.edu">yzeng10@stevens.edu</a>&gt; wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div id="gmail-m_-6635696753490503265divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0px; margin-bottom:0px">Did anyone else meet the same problem? I attached a volume on an instance as /dev/sdf, but when I use command&nbsp;<span>tar cf - / |ssh -o stricthostkeychecking=no %s root@instanceDNS &quot;dd of=/dev/sdf&quot;.it can only write
 into&nbsp;<span>/dev/xbd1a rather than /dev/sdf. What should I do?</span></span></p>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><b>Robert Herley</b>
<div>Computer Science '19 | Stevens Institute of Technology&nbsp;</div>
<div>(631) 896-7161 | <a href="https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.robherley.xyz&amp;data=02%7C01%7Cbbiggs%40stevens.edu%7C164f393019054ff759ac08d6d24ddc77%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C636927629209287023&amp;sdata=WZi3xZXgK%2BRoXOllsDVDPl4wkSyQW6R8B1w5r3FCs34%3D&amp;reserved=0" originalsrc="http://www.robherley.xyz" shash="SsKmS0QJvaq8/TyxDmDehXs7xtSRZf/kDIcF&#43;Q3ZsCuvvc5vzoNHsuGXS837zN0FxPArMhcJc4OvKryhZZp&#43;qmVHbh21gy122DISN8KTFG9Xbp/iFAriNkm9xjlgrkDKzSwOA6yozVOKJJHK6ROYtOhciFeCd/MoX2oFXexiBrM=" target="_blank">
www.robherley.xyz</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>