I think that, assuming you have a root filesystem (/), a /export, and a /export/home all as individual filesystems, then I reckon so.
Yes. In the example I use, /export and /export/home have separate mount points. I only want /export (and subdirectories) BUT NOT /export/home.
SO I guess I'll give this a try.
---------- Post updated at 04:15 AM ---------- Previous update was at 02:58 AM ----------
Hmmm. Not working too well.
I think its because the find command finds directory names within the filesystem (like /export/home) but not the files within that directory (because of xdev).
Trouble is that tar then attempts to tar everything in that directory anyway.
Sound about right?
I've run find . -xdev > tarlist and then looked at tarlist and this confirms it. I guess what I need to do is stop tar looking at directory names and tarring the contents.
---------- Post updated at 04:43 AM ---------- Previous update was at 04:15 AM ----------
Hmmm. Was thinking of using
But of course, using my example, you'd lose directories that were empty such as, say /export/1.
Wondering if way forward is to exclude directories based on the "other" mount points?
Of course, if I could get tar not to recurse it'd be fine. Not sure if its possible with solaris though.
should not print a mounted /export/home.
--
In principle cpio works better with find.
and this cpio archive can be listed with
And extracted to the current directory with
Hi,
What are the types of mount points available in Linux machine and how to find
what type of mount point is configured in my linux machine?
Is mount point otherwise called as file system or do they have different meaning ?
Regards,
Maddy (4 Replies)
Hi folks,
I have been asked to performed the following:
Add the following new moint points systemA:/avp and SystemB:/usr/sap/trans to be the new linux server ZZZ
How can I add those mount points and how those mount points can become another linuz server?:wall::wall::wall: (2 Replies)
hi,
I believe a mount point does not have to be a physical disk, but rather a logical one? Is this correct? if so, how can I find out if my mount points are on different physical disks?
thanks (9 Replies)
When taking a snap, I have a script that stops any active snap. When running the script, I'm getting a message that u02 and u04 are already mounted.
How can I find out what process(es) is/are latching on the these mount points?
Thank you for your time. (1 Reply)
Hi
Solaris 10
On server A, there is a directory called data with 10 files. This data directory has a further 3 subdirectories, gl, pay, contract (for example)
On server B, I want to see the server A data directory
commands used:
on server A, share -F nfs -o ro -d "<description">... (1 Reply)
How do I make a mount point reconnect at boot without editing /etc/fstab? Is there an option (or switch) to make this persistent when issuing the mount command from a client? (1 Reply)
hi
i tried to tar a directory in my server but it show ensufficient space.
therefore i tried to save it to a mount point using
tar /mountpoint/newfilename file2btar
but it gives me permission denied.
i am using the root account to do this.
is it possible to tar files and put it to mounted... (3 Replies)
I am running NIS, NFS and automount.
If I execute
% cd /xyz/data1
% pwd
I get different results depending on the operating system.
On SGI running Irix 6.5.x pwd returns /xyz/data1
On Redhat Linux 7.3 pwd returns /xyz/data1
BUT
On Tru64 UNIX the pwd command returns... (1 Reply)
sometimes in Solaris 8 when I go to mount filesystems using either the mount command or by editing the /etc/vfstab, i get a nice little error message saying the the number of allowable mount points has been exceeded. I have read man pages until I am blue in the face and no where can I find what the... (3 Replies)
Hi...
question is this:
How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure.
... (4 Replies)