Filesystem creation over existing Directory


 
Thread Tools Search this Thread
Operating Systems AIX Filesystem creation over existing Directory
# 1  
Old 04-03-2006
Filesystem creation over existing Directory

Is it possible to create a Filesystem with the mount point over an existing Directory, without loosing the data in the Directory?
eg:-

/u01 -> /pmmpd/u01 (Directory with soft link)
/pmmpd/u01 (Need to create this filesystem, without loosing data)

Thanks
TheDoc
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No such file or directory for existing executable

Hi, I have a very puzzling problem. I have a binary file, it is executable but it says "No such file or directory" when I try to run it : root@debian:~# ls -l bmcfwul -rwxr-xr-t 1 root root 762808 Mar 11 2010 bmcfwul root@debian:~# ./bmcfwul -su: ./bmcfwul: No such file or directory... (9 Replies)
Discussion started by: chebarbudo
9 Replies

2. UNIX for Dummies Questions & Answers

Symbolic link for an existing directory

Hi , i am trying to make a symbolic link for an existing directory, but i am facng some problems regarding the usage of command. If there is no directory i can make a symbolic link, but for an existing directory i am not able to. can anyone post me the exact usage if we already have the... (1 Reply)
Discussion started by: sahasra
1 Replies

3. Shell Programming and Scripting

Creation date of a directory

what's the command to find the creation date of a certain dirctory? (1 Reply)
Discussion started by: miss_dodi
1 Replies

4. UNIX for Dummies Questions & Answers

How to split current existing 32G filesystem into 8G*4

Hello, Buddies: I am a database administrator. we want to split existing 32G filesystem into separate chunks of 8G and map them into separate filesystems ? For example: /abc1/appl/oracle to be split into: /def1/appl/oracle /ghi7/appl/oracle /jkl23/appl/oracle ... (2 Replies)
Discussion started by: GreatJerry
2 Replies

5. Shell Programming and Scripting

Directory Creation problem

Hiiii, here is my script-- BackupLocation="$OPTARG" if ]; then echo "Either option l or L should be given to $Programname" echo "$Usage" echo "$Programname is terminated" ... (1 Reply)
Discussion started by: namishtiwari
1 Replies

6. Programming

creation of unwanted directory

hi all i have a file with server id's and I need to create a directory corresponding to each server id listed in the text file. eg: id directory name 1 node_1 2 ... (6 Replies)
Discussion started by: mridula
6 Replies

7. UNIX for Dummies Questions & Answers

Mass directory creation?

I have a couple thousand data files that all have to have there own directory named exactly the same as the file name. Then the file needs to be moved to that directory. For example files test1.mat, test2.mat, test3.mat in directory X need to have directories test1, test2, test3 created... (6 Replies)
Discussion started by: AeroEngy
6 Replies

8. UNIX for Advanced & Expert Users

directory creation

Hi Friends, I am trying to move some files from one directory to another. but if the destination directory doesnt exist then i have to create one and then move files to that. For this i have to write a script. please help. thanks in advance Veera (4 Replies)
Discussion started by: sveera
4 Replies

9. UNIX for Advanced & Expert Users

Remote directory creation

Is there a way to create a directory in some remote location from a local location? I understand that we can use 'rcp' to copy a local file to a remote location. I am looking for a command in similar lines which lets us create directories in remote locations. Could someone help? (5 Replies)
Discussion started by: srinivay
5 Replies

10. Filesystems, Disks and Memory

Filesystem Creation

What are the Steps involved in Creating Filesystem on Unix Box. Sun solaris 5.8 installed on this box (1 Reply)
Discussion started by: abdulmunaf
1 Replies
Login or Register to Ask a Question
hier(7) 						 Miscellaneous Information Manual						   hier(7)

Name
       hier - file system hierarchy

Description
       The following is a brief description of the root file system.  The major directory hierarchy and representative files are listed.

       Symbolic links can be included in the files to provide backward compatibility. To display the links, type:
       % ls -l

       See the Guide to Disk Maintenance for more detailed information.

       /       Directory  for  root file system. This file system is separated into nonsharable data, (root (/)) and sharable data, (/usr).  These
	       two file systems are each divided into the following types: static data, variable data, and executable data.

       /bin    Directory for the single user executable data files.

       /bin/init
	       Parent of all processes,

       /bin/mount
	       Mount program,

       /dev    Directory for devices.
		  MAKEDEV Shell script to create special files
		  MAKEDEV.local
			  Site-specific part of MAKEDEV
		  console Main console,
		  rz	  SCSI disks,
		  rrz*	  Raw SCSI disks,
		  rmt*	  Tapes
		  mrmt*   Tapes
		  tty*	  Terminals,
		       .
		       .
		       .

       /etc    Directory for the machine-specific static data files and shell scripts for booting.
		  crontab   System clock daemon table,
		  disktab   Disk characteristics and partition tables,
		  fstab     File system configuration table,
		  group     Group file,
		  hosts     Host name-to-network address mapping file,
		  motd	    Message-of-the-day file,
		  networks  Network name-to-network number mapping file,
		  passwd    Password file,
		  protocols Name-to-number mapping file,
		  rc	    Shell script to bring the system to multiuser mode
		  rc.local  Site-dependent portion of rc
		  remote    Names and description of remote hosts for and
		  services  Network services definition file,
		  termcap   Description of terminal capabilities,
		  ttys	    Properties of terminals,
		       .
		       .
		       .

       /lib    Symbolic link to

       /lost+found
	       Directory for connecting detached files for

       /sys    Symbolic link, normally to

       /tmp    Directory for temporary files (see also
		  e*	 Used by
		  ctm*	 Used by
		       .
		       .
		       .

       /usr    General purpose directory, on which the file system is normally mounted (see description that follows).

       /var    Directory for variable length files, such as spool, administrative, and temporary files. These files can also be located in See the
	       Guide to Disk Maintenance.

       /vmunix Kernel image

       The  directory contains the sharable data. The following is a brief description of the file system.  The major directory hierarchy and rep-
       resentative files are listed.

       /usr	 Root directory for file system.

       /usr/adm  Directory for administrative information, which is now a symbolic link to
		    crash   Directory for crash dumps
		    vmcore.?,vmunix.?	Crash dump files
		    lpacct  Line printer accounting,
		    tracct  Phototypesetter accounting,
		    wtmp    Login history,
			 .
			 .
			 .

       /usr/bin  Directory for the shared executable data files, including utility programs and Shell scripts.
		    as	 assembler
		    cc	 C compiler executive (see also and
		    csh  C shell
			 .
			 .
			 .

       /usr/dict Directory for word lists.
		    spellhist History file,
		    words     Word list,
			 .
			 .
			 .

       /usr/doc  Directories containing files for the Vol.2 documentation.
		    as	 Assembler manual
		    c	 C manual
			 .
			 .
			 .

       /usr/etc  Directory for utility programs and shell scripts.

       /usr/etc/cron
		 Clock daemon,

       /usr/etc/dump
		 Dump program,

       /usr/examples
		 A directory where components of the base system and Digital's separately licensed products can locate code examples, scripts, and
		 demos for customers to use.  A typical use is to complement printed documentation.

       /usr/games
		 Directory for games.
		    hangman   Hangman game
		    lib       Library directory for games
			 .
			 .
			 .

       /usr/etc/getty
		 Part of login,

       /usr/include
		 Directory for standard #include files.
		    a.out.h  Object file layout,
		    math.h
		    stdio.h  Standard I/O,
		    sys      Symbolic link to (system generation #include files)
			 .
			 .
			 .

       /usr/lib  Directory for the shared static data files, such as object libraries.
		    atrun   System scheduler,
		    cpp     C preprocessor
		    libc.a  System calls and standard I/O (2,3,3S)
		    font    Directory for fonts
		    lint    Directory for utility files for
		    tmac    Directory for macros
		    units   Data file of conversion tables for
		    uucp    Directory for programs and data
			 .
			 .
			 .

       /usr/man  Directory for unformatted and preformatted reference (manual) pages.
		    cat1    Section 1 (preformatted)
		    cat2    Section 2 (preformatted)
		    cat3    Section 3 (preformatted)
			 .
			 .
			 .
		    man1    Section 1 (unformatted)
		    man2    Section 2 (unformatted)
		    man3    Section 3 (unformatted)
			 .
			 .
			 .

       /usr/mdec Directory for ULTRIX boot files.

       /usr/msgs Directory for messages,

       /usr/new  Directory for binaries of new versions of programs.

       /usr/preserve
		 Directory for editor files preserved after crashes or hangups.

       /usr/skel Directory for sample user startup files.
		    .cshrc   Startup file for
		    .login   Login startup file for
		    .mailrc  Startup file for
		    .profile Startup file for
		    .project Lists information used by

       /usr/spool
		 Directory for delayed execution files, which is now a symbolic link to
		    at	 Directory used by
		    lpd  Directory used by
			    lock Present when line printer is active
			    cf*  Copy of file to be printed, if necessary
			    df*  Daemon control file,
			    tf*  Transient control file (exists while is working)
		    mail  Mailboxes for
			    name	Mail file for user name
			    name.lock	Lock file (exists while name is receiving mail)
		    uucp  Work files and staging area for
			    LOGFILE	Summary log

       /usr/src  Generic sources.
		    usr.bin User sources
			      troff and sources
			      term  Directory of description files for new printers

       /usr/sys  Directory for system files.
		    b.mips    BINARY for MIPS
		    b.vax     BINARY for VAX
		    fs	      Filesystem SRC
		    net       Netword SRC
		    mips      MIPS-specific SRC
		    vax       VAX-specific SRC
		    data      System data files
		    conf/{mips,vax}
			      Configuration files
		    h	      #include files
		    SAS       Standalone system
		    sys       Machine independent SRC

       /usr/tmp  Symbolic link to

See Also
       apropos(1), find(1), finger(1), grep(1), ls(1), whatis(1), whereis(1), which(1), ncheck(8)
       Guide to Disk Maintenance

								       RISC								   hier(7)