8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | 21c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux

Home » Misc » Here

Comments for VirtualBox : Extend Virtual Disk and File System


Craig said...

Excellent step by step example extending a disk and logical volume!

Tim Aiken said...

This did not work for me. I received:
[root@crs ~]# lvextend --size +11.99G --resizefs /dev/vg_oraclelinux6/lv_root
...
Logical volume lv_root successfully resized
fsadm: Filesystem "btrfs" on device "/dev/mapper/vg_oraclelinux6-lv_root" is not supported by this tool
fsadm failed:1

Oleg said...

Thanks for the great and accurate step-by-step guidance, it helped me a lot! Only one thing that I used differently was extending the logical volume to the maximum of free extents by using the following option in the lvextend command:
lvextend -l +100%FREE --resizefs /dev/vg_ol6112/lv_root

Thank you!

Juan said...

I had the same message: fsadm: Filesystem "btrfs" on device "/dev/mapper/vg_oraclelinux6-lv_root" is not supported by this tool fsadm failed: 1

It took me a while to find out that LVM is using btrfs as their file system in my case. This command solved my problem:

[root@oraclelinux6 ~]# btrfs filesystem resize max /

Tim... said...

Hi.

Thanks for the heads-up. I've added your comment to the article. :)

Cheers

Tim...

Anonymous said...

THANK YOU!

I went through many google results and this is the only one clear enough and working for me (most other instructions make use of a GUI tool to manipulate the partition, which is not an option for me).

These instructions are very clear and make sense. Thanks again!

DO NOT ask technical questions here! They will be deleted!

These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!

If you post personal information (name, email address etc.) you are agreeing to them being stored and displayed. Feel free to remain anonymous.