natraj


{ City } hyderabad
< Country > india
* Profession * solaris administrator
User No # 63065
Total Questions Posted # 0
Total Answers Posted # 4

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 5
Users Marked my Answers as Wrong # 3
Questions / { natraj }
Questions Answers Category Views Company eMail




Answers / { natraj }

Question { Satyam, 6167 }

ndd -get /dev/hme0 link-mode


Answer

I think above question it-self is wrong.
#ndd /dev/hme0 link_speed
Out put of the above command is either 0 or 1.
if,0 -NIC is running at 10mbps
if,1 -NIC is running at 100mbps

Similarly
#dladm show-dev
The above command will show logical name of NIC,Speed of
NIC,Link status of NIC and whether it{NIC} is full or half
duplex.

Is This Answer Correct ?    1 Yes 0 No

Question { ITC Infotech, 6738 }

I want to create a 30Gb of size in three different disks
10Gb,5Gb and 15Gb respectively in VxVm , how can we create
it kindly explain step by step procedure.


Answer

c0t0d0 -- 10 GB
c0t1d0 -- 5 GB
c0t2d0 -- 15 GB

#vxdctl enable
#/etc/vx/bin/vxdisksetup -i c0t0d0
#/etc/vx/bin/vxdisksetup -i c0t1d0
#/etc/vx/bin/vxdisksetup -i c0t2d0

Create a disk group.

#vxdg init disk01=c0t0d0
#vxdg -g adddisk disk02=c0t1d0
#vxdg –g adddisk disk02=c0t1d0
#vxdg list -- Now we can see the newly created dg that is
30 GB

To see the maximum size of the volume;
#vxassist -g maxsize

#vxassist -g make
If it is vxfs,
#mkfs –F vxfs /dev/vx/rdsk/dgname/volume-name

#mount –F vxfs /dev/vx/dsk/dgname/volume-name /mount-point

Is This Answer Correct ?    0 Yes 0 No


Question { ITC Infotech, 6738 }

I want to create a 30Gb of size in three different disks
10Gb,5Gb and 15Gb respectively in VxVm , how can we create
it kindly explain step by step procedure.


Answer

Ans: Ex: Three different disks.
c0t0d0 -- 10 GB
c0t1d0 -- 5 GB
c0t2d0 -- 15 GB

#vxdctl enable
#/etc/vx/bin/vxdisksetup -i c0t0d0
#/etc/vx/bin/vxdisksetup -i c0t1d0
#/etc/vx/bin/vxdisksetup -i c0t2d0

Create a disk group.

#vxdg init disk01=c0t0d0
#vxdg -g adddisk disk02=c0t1d0
#vxdg –g adddisk disk03=c0t2d0
#vxdg list -- Now we can see the newly created dg that is
30 GB

To see the maximum size of the volume;
#vxassist -g maxsize layout=layouttype

#vxassist -g make
If it is vxfs,
#mkfs –F vxfs /dev/vx/rdsk/dgname/volume-name

#mount –F vxfs /dev/vx/dsk/dgname/volume-name /mount-point

Is This Answer Correct ?    2 Yes 0 No

Question { 16304 }

how can we know the creation time of user.


Answer

At the time of user creation, we will mention the user's
home directory.
#ls -ld /dirname
Above command will provide the date and time stamp of user
creation information.

Eg:#useradd -d /export/home/raj -m /raj
The above command will create user "raj" along with home
directory "raj" which has been followed by /export/home.

#ls -ld /raj
The above command will display the time & date stamp.

Thanks & Regards
Natraj

Is This Answer Correct ?    2 Yes 3 No