Sponsored Content
Full Discussion: Unable to remove VIOS disk
Operating Systems AIX Unable to remove VIOS disk Post 302923775 by ibmtech on Tuesday 4th of November 2014 12:21:59 PM
Old 11-04-2014
Bingo,
The culprit is
Code:
/dev/fslv00  --         /space                jfs2  -- rw         no  no

Umount the /space filesystem
umount -f  /space

This should automatically varyoff patchtest VG.
 

9 More Discussions You Might Find Interesting

1. Linux

Unable to remove file using rm: Disk space is full

Hi all, My disk space is 100% full. df -k <dir> -> 100% One of my debug files consume huge amount of space and i want to remove the same to start off fresh debugs. However i'm unable to remove the file giving out the following error message: rm -f debug.out22621 rm: cannot remove... (8 Replies)
Discussion started by: Pankajakshan
8 Replies

2. AIX

Problem mapping LUN disk from VIOS to the LPAR

Hello guys, It would be so nice of you if someone can provide me with these informations. 1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN. Unfortunately most of the disks that are in VIO server is 51G. How would I know which is the newly... (3 Replies)
Discussion started by: solaix14
3 Replies

3. Solaris

Unable to take backup of /var on another disk !!

Hi Gurus, I have to back the /var to other disk, however I am unable to do so. What I did is Created a partition on another disk, placed file system on the slice and mounted on /mnt . Issued following command #ufsdump 0cfu /mnt /var And I am getting... (2 Replies)
Discussion started by: kumarmani
2 Replies

4. Ubuntu

Unable to mount disk

I am running Ubuntu Server, I recently added a new hard drive to the machine When I run fdisk -l I see both drives. The recently added drive is present but it's listed as extended. when I try to mount the drive it says you must specify the file system type. I can't mount this drive, I was... (2 Replies)
Discussion started by: NelsonC
2 Replies

5. AIX

VIOS IP address - separate vlan for vios servers ?

Hello, Lets say for simplicity that I do not use any vlan config inside my server - one lpar group use hea physical port1, another group hea physical port2. Physical port1 configured as vlan1 on external switch, physical port2 as vlan2. What is the common practice - should I isolate my vios... (0 Replies)
Discussion started by: vilius
0 Replies

6. AIX

Shared Disk in VIOS between two LPARs ?

is there any way to create shared virtual disk between two LPARs like how you can do it using Storage through Fiber on two servers ? Trying to stimulate HACMP between two LPARs (1 Reply)
Discussion started by: filosophizer
1 Replies

7. Solaris

Solved: Disk Unable to Boot

Update: The / file system (/dev/rdsk/c1t0d0s0) is being checked fsck unable to stat WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0). Root password for system maintenance (control-d to bypass): I am unable to hit control-d to by pass. I... (50 Replies)
Discussion started by: br1an
50 Replies

8. AIX

VIOS: Extend virtual disk assigned to running lpar?

Hello, VIOS 2.2.1.4 using IVM. I'm trying to extend a virtual disk assigned to a running lpar so that I can expand the lpar's datavg and grow some filesystems for the user. Storage admin expanded the lun and new size was reflected in VIO right away. I then needed the storage pool to... (2 Replies)
Discussion started by: j_aix
2 Replies

9. UNIX for Advanced & Expert Users

Unable to install client AIX LPAR to vscsi hdisk provided from VIOS

Hi everybody, I have Power5 server with 4 internal hdisks each of 70Gb. VIOS server was installed via Virtual I/O Server Image Repository on the HMC. HMC release - 7.7.0 VIOS rootvg installed on 2 disk(these disks merged to one storage pool during VIOS install process),and 2 others hdisks... (2 Replies)
Discussion started by: Ravil Khalilov
2 Replies
MOUNT(2)						      BSD System Calls Manual							  MOUNT(2)

NAME
mount, unmount -- mount or dismount a filesystem SYNOPSIS
#include <sys/param.h> #include <sys/mount.h> int mount(const char *type, const char *dir, int flags, void *data); int unmount(const char *dir, int flags); DESCRIPTION
The mount() function grafts a filesystem object onto the system file tree at the point dir. The argument data describes the filesystem object to be mounted. The argument type tells the kernel how to interpret data (See type below). The contents of the filesystem become available through the new mount point dir. Any files in dir at the time of a successful mount are swept under the carpet so to speak, and are unavailable until the filesystem is unmounted. The following flags may be specified to suppress default semantics which affect filesystem access. MNT_RDONLY The filesystem should be treated as read-only; Even the super-user may not write on it. MNT_NOEXEC Do not allow files to be executed from the filesystem. MNT_NOSUID Do not honor setuid or setgid bits on files when executing them. MNT_NODEV Do not interpret special files on the filesystem. MNT_UNION Union with underlying filesystem instead of obscuring it. MNT_SYNCHRONOUS All I/O to the filesystem should be done synchronously. The flag MNT_UPDATE indicates that the mount command is being applied to an already mounted filesystem. This allows the mount flags to be changed without requiring that the filesystem be unmounted and remounted. Some filesystems may not allow all flags to be changed. For exam- ple, most filesystems will not allow a change from read-write to read-only. The flag MNT_RELOAD causes the vfs subsystem to update its data structures pertaining to the specified already mounted filesystem. The type argument defines the type of the filesystem. Data is a pointer to a structure that contains the type specific arguments to mount. The format for these argument structures is described in the manual page for each filesystem. The umount() function call disassociates the filesystem from the specified mount point dir. The flags argument may specify MNT_FORCE to specify that the filesystem should be forcibly unmounted even if files are still active. Active special devices continue to work, but any further accesses to any other active files result in errors even if the filesystem is later remounted. RETURN VALUES
The mount() returns the value 0 if the mount was successful, otherwise -1 is returned and the variable errno is set to indicate the error. Umount returns the value 0 if the umount succeeded; otherwise -1 is returned and the variable errno is set to indicate the error. ERRORS
Mount() will fail when one of the following occurs: [EPERM] The caller is not the super-user, and the device-node and the mountpoint do not have adequate ownership and permissions. [ENAMETOOLONG] A component of a pathname exceeded {NAME_MAX} characters, or an entire path name exceeded {PATH_MAX} characters. [ELOOP] Too many symbolic links were encountered in translating a pathname. [ENOENT] A component of dir does not exist. [ENOTDIR] A component of name is not a directory, or a path prefix of special is not a directory. [EINVAL] A pathname contains a character with the high-order bit set. [EBUSY] Another process currently holds a reference to dir. [EFAULT] Dir points outside the process's allocated address space. Umount may fail with one of the following errors: [EPERM] The caller is not the super-user, and the mount() was not done by the user. [ENOTDIR] A component of the path is not a directory. [EINVAL] The pathname contains a character with the high-order bit set. [ENAMETOOLONG] A component of a pathname exceeded {NAME_MAX} characters, or an entire path name exceeded {PATH_MAX} characters. [ELOOP] Too many symbolic links were encountered in translating the pathname. [EINVAL] The requested directory is not in the mount table. [EBUSY] A process is holding a reference to a file located on the filesystem. [EIO] An I/O error occurred while writing cached filesystem information. [EFAULT] Dir points outside the process's allocated address space. SEE ALSO
mount(8), umount(8), BUGS
Some of the error codes need translation to more obvious messages. HISTORY
Mount() and umount() function calls appeared in Version 6 AT&T UNIX. 4th Berkeley Distribution December 11, 1993 4th Berkeley Distribution
All times are GMT -4. The time now is 04:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy