Please share the command to get flash doms on AIX


 
Thread Tools Search this Thread
Operating Systems AIX Please share the command to get flash doms on AIX
# 1  
Old 04-21-2014
Please share the command to get flash doms on AIX

Hello,

Please share the command to get flash doms on aix


Best regards,
Vishal
# 2  
Old 04-22-2014
Please explain what problem you are having. I'm assuming that you have searched on the IBM site, but I find nothing relevant. Please confirm what you are looking for or explain the function that is not working.

Do you mean flash prom perhaps, or is it domains? I regret that I'm rather confused. Smilie


Robin
# 3  
Old 04-22-2014
The volumes have been migrated to flash(solid state disk) and how do I detrmine at os level that which all file systems have been moved to SSD

I tried with lslv and lspv but could not get much info.Please assist.


Best regards,
Vishal
# 4  
Old 04-22-2014
I understand the "flash" bit, just not the "doms"

The output you are probably looking for will be from lscfg Assuming that you have a volume group of two devices (to make it easy) of which one is real spinning disk and one is SSD, you could get output like this:-
Code:
$ lscfg -vl hdisk1 |grep hdisk
hdisk1           U789C.001.DQD5S24-P2-D4  SAS Disk Drive (300000 MB)

$ lscfg -vl hdisk2 |grep hdisk
hdisk2           U789C.001.DQD5S24-P7-D2  SDD Flash (300000 MB)

Of course you will probably have different disk types, perhaps a RAID device or a SAN LUN assigned.

You will need to check which filesystems are on spinning disk (hdisk1 in my example):-
Code:
$ lspv -M hdisk1

This might produce quite a lot of output, so probably best to catch it to a file. You can then move the logical volumes with migratepv Depending on mirrored LVs and available space on each target disk, you may be better moving each logical volume under your control:-
Code:
$ migratepv -l lv_01 hdisk1 hdisk2

If you are sure that the target disk has sufficient space to do it all in one go, you can just
Code:
$ migratepv hdisk1 hdisk2

The process will probably take a while. Each allocated PP is copied and synced in turn before the old one is removed, whether there is data in it or not, so a 500 Gb filesystem with 200 Mb used will take ages to move, however this can all be done with the filesystem active.

You will have to ensure that if your LV is mirrored, that you do not violate the rules keeping the various partitions separate.



I hope that this helps. For completeness of the thread, it would be good if you can post the output of the disk types.


Kind regards,
Robin
# 5  
Old 04-22-2014
Hello,

Below is the output:
Code:
lscfg -vl hdisk4|grep hdisk
  hdisk4           U8233.E8B.1097BDP-V6-C108-T1-L8500000000000000  Virtual SCSI Disk Drive

Does this mean that this is not on SSD?

Also this hdisk4 comes through SAN Volume controller so how to check for SSD?

Best regards,
Vishal

Last edited by Vishal_dba; 04-22-2014 at 01:16 PM..
# 6  
Old 04-22-2014
hmm... somehow the things you state do not add up to a coherent picture.

You can use the "lsattr -El <device>" command to get more information about a device - such as a disk. If your concern is that the SSD disks are visible at all to the system, then this is the way to go. Notice, though, that you will only see directly connected disks this way. What you have shown is a "virtual SCSI" device. I suppose your LPAR got it from a VIOS. You will not be able to see the properties of the physical disk from the LPAR in this case, because it gets the disk without caring where it comes from (just like a file doesn't care what the filesystem it resides at is made from). You will have to log on to the VIOS (or whatever exports the disk - SAN fabric, ...) and look there.

If you have made sure there is a SSD device your system recognizes as a "hdisk" device you may wonder if it is part of a certain volume group. Issue "lspv" in this case and see all the physical volumes along with the volume groups they belong to.

If you are sure a PV is part of a certain VG and wonder if a certain logical volume is on this PV issue a "lslv -m" to get a map file f the LV.

I am still not sure what you are about (you might consider taking a step back, drink a coffee to come down, then explain what your problem is v-e-r-y s-l-o-w-l-y and concisely), but anyway, i hope this helps.

bakunin

Last edited by bakunin; 04-22-2014 at 01:42 PM..
# 7  
Old 04-22-2014
Ah! you are using vscsi so you won't really be able to make it out from client which disk is SSD.

Best bet is your VIOS, you can run lsdev -Ccdisk paste the output here.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How can we share a AIX drive on to Windows 2012 server?

Hi, How can we share a AIX drive on to Windows 2012 server. or vise versa. Note: Not using NFS/CIFS/samba. (*we are not able to use samba/NFS/CIFS for some reason) Requirement: How to have real time file sharing over the network between Windows and UNIX Do you guys have any ... (4 Replies)
Discussion started by: System Admin 77
4 Replies

2. AIX

AIX to access Windows share

Are there any special requirements/tools needed for a AIX server to see (copy data) a Windows share? Only need 1-way copy (Windows-to-AIX). (8 Replies)
Discussion started by: kirkb
8 Replies

3. AIX

AIX cifs: mount Windows Server 2008 share ?

Hello, I've been using AIX cifs to mount windows XP shares with no problems till now. Now it's Windows Server 2008 R2 - no go: mount -v cifs -n host1/user1/pass1 /share1 /mountpt1 There was an error connecting the share or the server. Make sure the lsdev command shows that device nsmb0 is in... (6 Replies)
Discussion started by: vilius
6 Replies

4. AIX

Unable to share win folder in AIX

Hi, Iam unable to share WInXp folder in AIX, i configured samba, its working fine, i am able to access win folder from AIX by using samba but unbale to access AIX folder from Windows. bash-3.00# mount -v cifs -n Win_IP/Win_username/Win_passwd /Win_Folder /AIX-folder Result: There was an... (1 Reply)
Discussion started by: mpasha06
1 Replies

5. AIX

NFS Share Setup On AIX

Hi all, I have one IBM AIX server (serverA) which is connected to the san storage. I have created a volume group and also file system (jfs2) and mounted to directory /profit. After that I created a NFS share for that directory and started the NFS daemon. Over at another server, which is... (1 Reply)
Discussion started by: a_sim
1 Replies

6. AIX

NFs share AIX 6.1 and 5.3 - bug ? -

Hi folks, Just get my 1st AIX 6.1 servers up and creating some NFS shares without issues. I can mount it from others AIX 6.1 systems but can't from 5.3. Permissions etc. are OK lcppa1261 45: pbrun mount lcppa1001:/export/images /mnt NFS server lcppa1001 not responding still trying... (1 Reply)
Discussion started by: unclefab
1 Replies

7. SuSE

Map AIX share

I need some assistance creating a mount to a share on an AIX system on a SuSe Linux box. I haven't had any luck using the Connect to Server option within the gui, so I am assuming I need to use the 'mount' command but need some assitance with the syntax if this is the right way to go. Any... (2 Replies)
Discussion started by: genesis211
2 Replies

8. AIX

How to share a directory in AIX to access from Solaris and windows?

Hi All, I am basically new to this forum as well as AIX. To share some huge files between 2 servers I thought of creating a shared Directory in my AIX machine to access it in Solaris. I am very new to this AIX. Help me out how can u share a directory in AIX to access (mount) it on Solaris. Hope... (2 Replies)
Discussion started by: babuchoudary_g
2 Replies

9. AIX

Access windows share from AIX

How in AIX 5.1 can I access a windows shared drive without using NFS. I have looked into cifs but I can not seem to find the package that I need to install for AIX 5.1 if anyone can give me any further direction please let me know. (2 Replies)
Discussion started by: chefsride
2 Replies

10. Windows & DOS: Issues & Discussions

Mounting a windows share on AIX

Hi, How can I mount a Windows share (over samba) on an AIX machine? I know there is a utility called smbmount on Linux, but alas, I cannot find out how to the same thing on AIX. anyone have any ideas? thanks! (3 Replies)
Discussion started by: szahir1
3 Replies
Login or Register to Ask a Question