Can a filesystem be mounted twice?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I attempted to mount the different harddisk to the same logical
filesystem (the other way is multiple logical filesystem to the same
harddisk, or double mounting, which i don't see it as a problem, and
it is allowed as well), but this is not logical==>

mount /dev/sda2 /mnt/fdrive
mount /dev/sdb2 /mnt/fdrive

and both device will get mapped to the same logical filesystem
(fdrive)......this is a bug?

and subsequently the unmounting is in error as well:

/root>df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             34718516  32869592     56876 100% /
tmpfs                   517464         0    517464   0% /dev/shm
/dev/sda2             38448304  15090272  21404932  42% /mnt/fdrive
/dev/sdb1             39381744  36759432    621820  99% /mnt/edrive
/dev/sdb2             38448304  15090272  21404932  42% /mnt/fdrive


/root>umount /dev/sda2
/root>df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             34718516  32869592     56876 100% /
tmpfs                   517464         0    517464   0% /dev/shm
/dev/sda2             34718516  32869592     56876 100% /mnt/fdrive
/dev/sdb1             39381744  36759432    621820  99% /mnt/edrive


/root>umount /dev/sda2
/root>df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2             34718516  32869592     56876 100% /
tmpfs                   517464         0    517464   0% /dev/shm
/dev/sdb1             39381744  36759432    621820  99% /mnt/edrive

Can someone clarify?

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux