Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

aoe-flush(8) [debian man page]

aoe-flush(8)						      System Manager's Manual						      aoe-flush(8)

NAME
aoe-flush - flush the down devices out of the aoe driver SYNOPSIS
aoe-flush [-a] aoe-flush dev1 [dev2 ...] DESCRIPTION
The aoe-flush command tells the aoe driver to remove devices from the system and forget about them. Normally the aoe driver will remember all devices it has seen until the module is unloaded. By default, aoe-flush will only flush downed devices. With the -a flag all devices are candidates for removal. aoe-flush will not remove devices that are in use. This includes devices in the closewait state or those in the process of being installed. By specifying a series of specific aoe devices, e.g., e7.0 e3.2, it is possible to ask the aoe driver to forget these devices. This fea- ture may be convenient after a temporary AoE target is no longer being used. OPTIONS
-a The -a option tells the aoe driver to forget all unused devices. EXAMPLE
nai# aoe-stat | grep e12.0 e12.0 0.000GB eth1 down nai# aoe-flush nai# aoe-stat | grep e12.0 BUGS
Flushed devices may reappear when they are discovered by the periodic discovery beacon. aoe-discover may be used to force this behaviour. SEE ALSO
aoe-stat(8), aoe-discover(8), aoetools(8). AUTHOR
Sam Hopkins (sah@coraid.com) aoe-flush(8)

Check Out this Related Man Page

aoe-mkshelf(8)						      System Manager's Manual						    aoe-mkshelf(8)

NAME
aoe-mkshelf - create special device files for one shelf address SYNOPSIS
aoe-mkshelf {device-dir} {shelf-address} env n_partitions=1 aoe-mkshelf {device-dir} {shelf-address} DESCRIPTION
The aoe-mkshelf command is not needed on systems that have udev installed and is incompatible with aoe drivers that have the aoe_dyndevs module parameter set to 1. Systems lacking udev and having an aoe driver that uses static minor device numbers can use aoe-mkshelf to create the block special files necessary to access the AoE devices with the given shelf address. All aoe drivers prior to aoe6-50 use static minor device numbers. Versions 50 and up use dynamic minor device numbers when the module parameter aoe_dyndevs=1 is set. If you are using static minor device numbers and your aoe driver supports only one partition per device (whole-disk partitions), then the device files must match, and you should use the n_partitions environment variable described below. Arguments device-dir This should be the name of the directory where the block device files will be created. shelf-address This is the AoE major address, or shelf address, for which to create device nodes. For example, specifying a shelf address of 1 means that the e1.* device nodes will be created in device-dir. ENVIRONMENT VARIABLES
If the n_partitions variable is set in the environment, it will override the default number of partitions per aoe disk, namely 16. EXAMPLE
In this example, the root user on a host named nai creates special files for using the aoe disks in shelf 7. Then he remembers that the driver doesn't have partition support, so the command is called again with n_partitions set to 1. nai:~# aoe-mkshelf /dev/etherd 7 nai:~# ls /dev/etherd/e7.* | wc -l 160 nai:~# rm /dev/etherd/e7.* nai:~# n_partitions=1 aoe-mkshelf /dev/etherd 7 nai:~# ls /dev/etherd/e7.* | wc -l 10 nai:~# SEE ALSO
aoe-discover(8), aoe-interfaces(8), aoe-mkdevs(8), aoe-stat(8), aoetools(8), udev(7). AUTHOR
Ed L. Cashin (ecashin@coraid.com) aoe-mkshelf(8)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Nvram?

what is its signifance and how do you flush it. i was reading this book that said something about flushing the nvram before un-installing it. how do you do that and also whats the purpose of this nvram when the regular RAM is available (2 Replies)
Discussion started by: TRUEST
2 Replies

2. Shell Programming and Scripting

stat command

how can ý use "stat command"????.. (2 Replies)
Discussion started by: emreatlier
2 Replies

3. UNIX for Dummies Questions & Answers

Truncate what is It?

what does this command do ? as in does this command just make sure everything in the file is executed? or does it flush the file? Actually this is used on a file in a progress database but I believe it is a unix command? (2 Replies)
Discussion started by: rocker40
2 Replies

4. UNIX for Advanced & Expert Users

increasing file system

Hi, on /dev1 I have 50Gb, on /dev2 I have 5Gb. How can I give the 50Gb to /dev2 and give back 5Gb to /dev1. Many thanks. PS : OS is AIX (1 Reply)
Discussion started by: big123456
1 Replies

5. Shell Programming and Scripting

how to

I want to read the values between the quote marks in the first line (i.e. e10 , e11, e12, and so on ...) then put them at the end of the string (i.e. base_config_ ) before the =" Read e10 e11 e12 and so on Place them at the end of base_config_ then the rest of the line ="abc 255.255 " ... (1 Reply)
Discussion started by: djehresmann
1 Replies

6. Linux

sed couldn't flush stdout no space left on device

I am running Oracle Linux enterprise server 5.0. I just installed JDE 9.0 and after I started Webserver my root directory is 100% full. Can some one help me flush stdout. I am new to linux. Sam (5 Replies)
Discussion started by: s1a2m3
5 Replies

7. Programming

which signal will flush the file buffer in C/C++

which signal will flush the file buffer in C/C++? eg. send a signal to flush all the file buffer to a file/stdout with out invoking fflush(). -INT, -TERM? someone please help me, thanks in advance! waiting online... (8 Replies)
Discussion started by: jackliang
8 Replies

8. AIX

How to remove a device in use?

Hi All, I'm having trouble with my SAN devices on AIX 5.3 so I would like to remove the SAN devices and HBAs. Then I want to recreate them with cfgmgr and see if this solves my problem. So I have the following SAN devices: # lsdev | grep fcs fcs0 Available 07-08 FC... (7 Replies)
Discussion started by: petervg
7 Replies

9. Shell Programming and Scripting

Command to flush specific domain in SunOS 5 DNS

Hello to all, May you help saying me how to flush a specific domain in Linux SunOS5 I know the command rndc is to flush DNS cache, but I would like to know: 1- How to do a flush only on specific domain 2- How to see the content of DNS Resolver cache (similar to info given by IPCONFIG... (2 Replies)
Discussion started by: Ophiuchus
2 Replies

10. Shell Programming and Scripting

Suggestion with script to cleanup

I need help with sed and awk scripts to search for Symmetrix ID=000090009902 and then grep its child disk devices associated to the dead paths and display them only, so that those dead devices can be removed. test01:/#powermt display dev=all Pseudo name=hdiskpower0 Symmetrix ID=000090009902... (0 Replies)
Discussion started by: aix_admin_007
0 Replies