[cs615asa] Problem about homework5

Brett Biggs bbiggs at stevens.edu
Mon May 6 14:10:13 EDT 2019


That's what threw me though was he didn't want us to actually mount it
________________________________
From: cs615asa-bounces at lists.stevens.edu <cs615asa-bounces at lists.stevens.edu> on behalf of Robert Herley IV <rherley at stevens.edu>
Sent: Monday, May 6, 2019 2:08:21 PM
To: CS615 - Aspects of System Administration
Subject: Re: [cs615asa] Problem about homework5

When you attach a volume to your instance, the volume name for AWS EC2 is "/dev/sdf", but the instance OS itself will probably assign a different volume name.

You can read more about it here:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.aws.amazon.com%2FAWSEC2%2Flatest%2FUserGuide%2Fdevice_naming.html&data=02%7C01%7Cbbiggs%40stevens.edu%7C164f393019054ff759ac08d6d24ddc77%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C636927629209287023&sdata=vYXYNXvEYed4UYuDZCbIrVPfp31irIaXPcSlqUg2A9g%3D&reserved=0>

But for the NetBSD amis, the correct mapping isn't shown at that link.
If you look at dmesg(8) after you mount the volume, you'll see what it gets mounted as.

Like the Professor mentioned in the last class, you'll also want to write to the entire disk, which is partition "d".

Hope this helps,
Rob

On Mon, May 6, 2019 at 12:47 PM Yuchen Zeng <yzeng10 at stevens.edu<mailto:yzeng10 at stevens.edu>> wrote:

Did anyone else meet the same problem? I attached a volume on an instance as /dev/sdf, but when I use command tar cf - / |ssh -o stricthostkeychecking=no %s root at instanceDNS "dd of=/dev/sdf".it can only write into /dev/xbd1a rather than /dev/sdf. What should I do?


--
Robert Herley
Computer Science '19 | Stevens Institute of Technology
(631) 896-7161 | www.robherley.xyz<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.robherley.xyz&data=02%7C01%7Cbbiggs%40stevens.edu%7C164f393019054ff759ac08d6d24ddc77%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C636927629209287023&sdata=WZi3xZXgK%2BRoXOllsDVDPl4wkSyQW6R8B1w5r3FCs34%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20190506/39c5d012/attachment.html>


More information about the cs615asa mailing list