Sample Header Ad - 728x90

best practice for mounting filesystems

0 votes
1 answer
2048 views
say I have two virtual disks (dev/sda and dev/sdbadded to my ESX CentOS 7 VM). I create two partitions (dev/sda1 and /dev/sdb1). Then I create a physical volume for each and create a volume group named storage-vg and two logical volumes data and application. File system created as well: mkfs.ext3 /dev/storage-vg/data mkfs.ext3 /dev/storage-vg/application My question is where do I mount them now ? I mean if I mount to a directory that contains already data the data will be hidden so to say. What is the best practice ? Should I create two empty directories under / ? It might be a silly question but for someone will almost only Windows experience it's hard to understand.
Asked by yesOrMaybeWhatever (121 rep)
Apr 12, 2018, 12:45 PM
Last activity: Jun 22, 2025, 06:09 AM