New answers tagged


Reasonably recent Linux kernels (added sometime in the 2.6 series) can extend ext3/4 filesystems online (ie. while mounted): localhost root # lvcreate -L100M -n test vg0 Logical volume "test" created. localhost root # mkfs.ext4 /dev/vg0/test mke2fs 1.42.13 (17-May-2015) Creating filesystem with 102400 1k blocks and 25688 inodes Filesystem UUID: 1d97763f-...


I wouldn't do that if I were you. For a filesystem you should use the tools of the os for which it was created. These cross-over tools often don't work as well as you might wish. I am gathering you only have one drive? If so, then my best suggestion, assuming your data takes up less than half the drive, is: using a live dvd of ubuntu, say, resize ...


An important step is to have mdadm scan for the disk prior to attempting to mount anything: mdadm --detail --scan I can't recall from memory but the --assemble flag may be necessary but try the above first then try mounting via: mount /dev/md# /path/to/mount

Top 50 recent answers are included