# Using loopback devices in RAID?

**URL:** <https://community.unix.com/t/using-loopback-devices-in-raid/145675>\
**Category:** Filesystems, Disks and Memory\
**Created:** [April 16, 2003, 9:54pm UTC](https://community.unix.com/t/using-loopback-devices-in-raid/145675 "2003-04-16T21:54:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deckard](https://community.unix.com/user_avatar/community.unix.com/deckard/32/68_2.png) [@deckard](https://community.unix.com/u/deckard)\
**Post date:** [April 16, 2003, 9:54pm UTC](https://community.unix.com/t/using-loopback-devices-in-raid/145675/1 "2003-04-16T21:54:39Z")

</div>

Hopefully I am posting this silly question in the right place...

I was wondering about the possibility of using loopback files on a physical disk to create virtual disks that could shrink or grow as needed. Something like RAID 0, but instead of using block devices, just using files. If I need more space, I just add another loopback file to the pool. If I don't need it anymore, I just remove it. But doing either of these things doesn't damage the data. Does anyone know if this is possible?

Similarly, I was also wondering is it's possible to mount multiple NFS or Samba shares to one location and have them all appear as a single "mounted device". For instance, if I want to mount th C$ share on an NT box and 10.0.1.1:/home on /mnt/files. Is there a way to do this?

Thanks.
