when parent directory is mounted on to new volume, i cannot see the sub directory which was existing earlier

Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
After mounting /yesh onto a new volume, I cannot see the sub directory /yesh/data001 which was existing before mounting.
If the sub directory is existing where can I find it?
command-line permissions mount bashrc bash-history
add a comment |Â
up vote
4
down vote
favorite
After mounting /yesh onto a new volume, I cannot see the sub directory /yesh/data001 which was existing before mounting.
If the sub directory is existing where can I find it?
command-line permissions mount bashrc bash-history
Can you elaborate a bit more? Are you saying that the directory/yesh/data001was present before mounting a new volume onto/yesh?
â Mr Shunz
6 hours ago
1
That's how it is supposed to work. Always mount on an empty directory.
â Soren A
6 hours ago
@Mr Shunz yes /yesh/data001 was present before mounting
â yeswanth
5 hours ago
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
After mounting /yesh onto a new volume, I cannot see the sub directory /yesh/data001 which was existing before mounting.
If the sub directory is existing where can I find it?
command-line permissions mount bashrc bash-history
After mounting /yesh onto a new volume, I cannot see the sub directory /yesh/data001 which was existing before mounting.
If the sub directory is existing where can I find it?
command-line permissions mount bashrc bash-history
command-line permissions mount bashrc bash-history
edited 5 hours ago
Ten-Coin
54.6k82211298
54.6k82211298
asked 6 hours ago
yeswanth
304
304
Can you elaborate a bit more? Are you saying that the directory/yesh/data001was present before mounting a new volume onto/yesh?
â Mr Shunz
6 hours ago
1
That's how it is supposed to work. Always mount on an empty directory.
â Soren A
6 hours ago
@Mr Shunz yes /yesh/data001 was present before mounting
â yeswanth
5 hours ago
add a comment |Â
Can you elaborate a bit more? Are you saying that the directory/yesh/data001was present before mounting a new volume onto/yesh?
â Mr Shunz
6 hours ago
1
That's how it is supposed to work. Always mount on an empty directory.
â Soren A
6 hours ago
@Mr Shunz yes /yesh/data001 was present before mounting
â yeswanth
5 hours ago
Can you elaborate a bit more? Are you saying that the directory
/yesh/data001 was present before mounting a new volume onto /yesh?â Mr Shunz
6 hours ago
Can you elaborate a bit more? Are you saying that the directory
/yesh/data001 was present before mounting a new volume onto /yesh?â Mr Shunz
6 hours ago
1
1
That's how it is supposed to work. Always mount on an empty directory.
â Soren A
6 hours ago
That's how it is supposed to work. Always mount on an empty directory.
â Soren A
6 hours ago
@Mr Shunz yes /yesh/data001 was present before mounting
â yeswanth
5 hours ago
@Mr Shunz yes /yesh/data001 was present before mounting
â yeswanth
5 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
You can use mount --bind for seeing old mount you have on same mount point.
Create any directory in your filesystem, ex: /mnt/data001, then
command: mount --bind /yesh/data001 /mnt/data001
This is tricky case, you cannot see old mount and you cant umount your old mount. Generally restart is kind of solution but with out restart if you want to access /yesh/data001 I believe you can achieve via above command.
thanks @Ten-Coin
â yeswanth
24 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
You can use mount --bind for seeing old mount you have on same mount point.
Create any directory in your filesystem, ex: /mnt/data001, then
command: mount --bind /yesh/data001 /mnt/data001
This is tricky case, you cannot see old mount and you cant umount your old mount. Generally restart is kind of solution but with out restart if you want to access /yesh/data001 I believe you can achieve via above command.
thanks @Ten-Coin
â yeswanth
24 mins ago
add a comment |Â
up vote
4
down vote
accepted
You can use mount --bind for seeing old mount you have on same mount point.
Create any directory in your filesystem, ex: /mnt/data001, then
command: mount --bind /yesh/data001 /mnt/data001
This is tricky case, you cannot see old mount and you cant umount your old mount. Generally restart is kind of solution but with out restart if you want to access /yesh/data001 I believe you can achieve via above command.
thanks @Ten-Coin
â yeswanth
24 mins ago
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
You can use mount --bind for seeing old mount you have on same mount point.
Create any directory in your filesystem, ex: /mnt/data001, then
command: mount --bind /yesh/data001 /mnt/data001
This is tricky case, you cannot see old mount and you cant umount your old mount. Generally restart is kind of solution but with out restart if you want to access /yesh/data001 I believe you can achieve via above command.
You can use mount --bind for seeing old mount you have on same mount point.
Create any directory in your filesystem, ex: /mnt/data001, then
command: mount --bind /yesh/data001 /mnt/data001
This is tricky case, you cannot see old mount and you cant umount your old mount. Generally restart is kind of solution but with out restart if you want to access /yesh/data001 I believe you can achieve via above command.
answered 4 hours ago
Ten-Coin
54.6k82211298
54.6k82211298
thanks @Ten-Coin
â yeswanth
24 mins ago
add a comment |Â
thanks @Ten-Coin
â yeswanth
24 mins ago
thanks @Ten-Coin
â yeswanth
24 mins ago
thanks @Ten-Coin
â yeswanth
24 mins ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1075932%2fwhen-parent-directory-is-mounted-on-to-new-volume-i-cannot-see-the-sub-director%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password

Can you elaborate a bit more? Are you saying that the directory
/yesh/data001was present before mounting a new volume onto/yesh?â Mr Shunz
6 hours ago
1
That's how it is supposed to work. Always mount on an empty directory.
â Soren A
6 hours ago
@Mr Shunz yes /yesh/data001 was present before mounting
â yeswanth
5 hours ago