amazon web services – Troubleshooting block device mappings with Packer to increase size of EBS volume

I’d like to understand more about what to do when you need to increase a block device size for a build. I have some examples that work successfully with ubuntu 18, and centos 7 that I use, but it seems like each time I’m in a slightly new scenario the old techniques don’t apply, and that is probably due to a gap in my knowledge of what is required.

Building an AMI with NICE DCV (remote display):

name: DCV-AmazonLinux2-2020-2-9662-NVIDIA-450-89-x86_64

I tried this in my packer template:

  launch_block_device_mappings {
    device_name           = "/dev/sda1"
    volume_size           = 16
    volume_type           = "gp2"
    delete_on_termination = true
  }

But then ssh never became available. I reverted to not doing any customisation, and took a look at the mounts:

(ec2-user@ip-172-31-39-29 ~)$ df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        482M     0  482M   0% /dev
tmpfs           492M     0  492M   0% /dev/shm
tmpfs           492M  740K  491M   1% /run
tmpfs           492M     0  492M   0% /sys/fs/cgroup
/dev/xvda1      8.0G  4.4G  3.7G  55% /
tmpfs            99M  8.0K   99M   1% /run/user/42
tmpfs            99M     0   99M   0% /run/user/1000

So I thought I should try this instead (which didn’t work):

  launch_block_device_mappings {
    device_name           = "/dev/xvda1"
    volume_size           = 20
    volume_type           = "gp2"
    delete_on_termination = true
  }

which resulted in these errors:

==> amazon-ebs.amazonlinux2-nicedcv-nvidia-ami: Authorizing access to port 22 from (0.0.0.0/0) in the temporary security groups...
==> amazon-ebs.amazonlinux2-nicedcv-nvidia-ami: Launching a source AWS instance...
==> amazon-ebs.amazonlinux2-nicedcv-nvidia-ami: Adding tags to source instance
    amazon-ebs.amazonlinux2-nicedcv-nvidia-ami: Adding tag: "Name": "Packer Builder"
==> amazon-ebs.amazonlinux2-nicedcv-nvidia-ami: Error launching source instance: InvalidBlockDeviceMapping: Invalid device name /dev/xvda1
==> amazon-ebs.amazonlinux2-nicedcv-nvidia-ami:         status code: 400, request id: 2c419989-dd53-48ef-bcb6-6e54e892d152
==> amazon-ebs.amazonlinux2-nicedcv-nvidia-ami: No volumes to clean up, skipping
==> amazon-ebs.amazonlinux2-nicedcv-nvidia-ami: Deleting temporary security group...
==> amazon-ebs.amazonlinux2-nicedcv-nvidia-ami: Deleting temporary keypair...
Build 'amazon-ebs.amazonlinux2-nicedcv-nvidia-ami' errored after 1 second 820 milliseconds: Error launching source instance: InvalidBlockDeviceMapping: Invalid device name /dev/xvda1
        status code: 400, request id: 2c419989-dd53-48ef-bcb6-6e54e892d152

Would anyone be able to share some pointers on what I’d need to do to increase the volume size in this instance and why?

command line – Kali Linux Docker Image loses his CLI style after mounting a volume

I’ve just pulled the kalilinux/kali-rolling image from Docker Hub and run, I really like his CLI style (the one with two linking lines, red text and the replacement of “@” with a skull).

However, if I mount a volume from host to the container, the CLI style will become the plain one just like the default of most Docker images, is there any way to fix this?

CLI before mounting a volume

CLI after mounting a volume

lvm – Best Practice: Add an Additional Disk to Expand Logical Volume or Expand Existing Disk

We host a client’s Oracle VMs on our Nutanix platform. To date, whenever their VMs require more space they have us add an additional vDisk which they then add to the VG in order to expand the required LV. The reason they’re doing it this way is because they don’t know how to expand a disk and its partitions inside Linux without rebooting the OS.

Of course, it is completely possible to add a disk in Linux and expand the parition, LV and filesystem while the OS is running, and in my opinion, this is the preferred method in terms of keeping things simple and linear. However, I don’t know enough about LVM on a pooled storage backend to justify this from a performance perspective.

So my question is:

How would multiple vDisks for a single LV impact I/O performance for an Oracle DB compared to using a single large vDisk on a virtualisation platform where storage from multiple physical disks are pooled together?

How to use alarm volume insted of ring volume for alarm app?

I am working on an alarm app in which I wanted to use alarm volume instead of ring or media volume
All I found regarding this is Ringtone Manager that uses alarm sound location instead of alarm volume
Reason – On silent mode my app won’t be able to use any volume either media or ring volume

bluetooth – Macbook and Bluedio T7+ volume synchronizing problem

bluetooth – Macbook and Bluedio T7+ volume synchronizing problem – Ask Different

ag.algebraic geometry – How do I find or derive circumspherical radii, surface area, and volume for these 5 non-traditional concave polyhedra?

As much of a mathematics enthusiast I am, I’m stuck on a huge roadblock in further developing my code for the paper that shows the value in different geometries at the nanoscale for nanomedicine: There are five shapes that I am having trouble deriving the circumspherical radii, and thus, the equations of surface area and volume, to solve my equations:

Medial Rhombic Triacontahedron
Dodecadodecahedron
Medial Triambic Icosahedron
Ditrigonal Dodecadodecahedron
Excavated Dodecahedron

I’ve scoured the internet to find some approximations but the only one I could find was based off of one of those solids so far and it’s not a modifiable equation as I cannot denote where the side length comes into play (they are just constants based off of a unit edge length): http://dmccooey.com/polyhedra/MedialRhombicTriacontahedron.html

I was wondering if anyone knew how to derivate the shape’s equations or where I can find the correct resource? I’d derivate it myself but it’s a bit above my scope of knowledge. I need a physical solid to cut and manipulate to try to find basic ratios at the very least.

dg.differential geometry – How can I check this volume comparison?

I am reading the paper Ricci Curvature and Volume Convergence. In section 2, define Lipschitz functions $b_j^+:Mtomathbb R$ with $|nabla b_j^+|=1$ and set $$Phi=(b_1^+,…,b_n^+):B_1(p)to B_{1+epsilon}(0)subsetmathbb R^n.$$ Then, why we have $text{Vol}(Phi(B_1(p)))leqtext{Vol}(B_1(p))$?

legending – How do I perform volume rendering on image slices imported from a directory on my local machine?

I have a set of image slices (in .MHA and DICOM formats) in a folder on my local machine. I will like to import these slices, perform rendering to get 3D volume, perform “ClusterComponents” on the rendered volume and then label each of the cluster as A1, A2, A3, A4, …….. or probably use legends.

  1. Is this possible in Mathematica?
  2. If yes, I would very glad to have your kind suggestions and opinions.
    Thank you in advance!

unity – Make main game music volume less louder when player getting close to sfx audio object?

The audio mixer settings :

Audio mixer settings

Then the audio source for the game music :

Game main music audio source

And the sfx audio source I changed the Spatial Blend to 3D and then in the 3D settings changed the Volume Rolloff to Linear Rolloff Min Distance to 10 and Max Distance to 13.

Sfx effect audio source

The sfx effect is working fine but the game music volume stay loud too loud.

How can I make that when the player is getting closer to the fire the main game audio will get less louder not to set the game music volume to 0 but make it slowly also less louder while the sfx getting more louder ?

my problem is to make the game music less louder slowly when the player is getting closer to the fire.

macos – Which format should I choose for a Time Machine backup volume?

I’m using Catalina on an formatted APFS SSD and am finding a correct way to backup the OS. In the plugged in external HDD, I create a backup volume with APFS format using Disk Utility. But when I choose it as the backup volume in Time Machine, Time Machine requires the volume have to be erased. I did it and then go to Disk Utility to check, the volume is now formatted as Mac OS Extended (Journaled).

Should I continue to use it? Will it occur any problems when I make a restore from backups on a Mac OS Extended (Journaled) to an APFS SSD? Thanks for any help.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123