How can we improve Azure Virtual Machines?

How attach Data Disk for /opt folder

As OS hardening process, I want to attach Data Disk for /opt folder, as there is no single user mode to move the existing /opt files in to Data Disk and mount volume for /opt folder.
How to mount extra Data volume for /opt folder?

Even I tried by De-Provision the VM and attach the OS Disk to other, Then Copied the /opt files from the OS disk into a new data disk and make entry FSTAB(OS Disk FSTAB file) entry to mount new disk on boot. Then I provision the VM with that disk attached, everything in vein.
please suggest any other option

1 vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)

We’ll send you updates on this idea

Leelavinoth shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base