Link to home
Start Free TrialLog in
Avatar of sara2000
sara2000

asked on

/dev/sdd in linux

Linux experts out there , My linux says that /dev/sdd is present, but I can not find it when I do >mount
Or cat /proc/partitions .
I want to disconnect this , How do I do that?
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

Make a directory to mount it on, for example:

mkdir /mnt/newdisk

Then mount it:

mount /dev/sdd1 /mnt/newdisk

If no sdd1 is present that means there is no partitions on the disk.  In that case you need to use fdisk to create partitions.

Is this a new drive, or an old drive with data?  Do not use fdisk if the drive has data on it already.

Run the following command:

ls /dev/sdd*
Avatar of sara2000
sara2000

ASKER

Sorry ,I have not given enough information. I found that an iscsi lun which is connected to this appliance.
I notice that there is an entry in the /etc/lvm/cahe/.cache file about this disk in the appliance.
Look like this disk is in the lvm group.
I do not know much about linux.
Is there anyway i can remove this disk from a group ?
the device is /dev/sad
check in #pvs.

if device is being used in any PV.. remove it first and if not then you can try removing .cache file


TY/SA
I do not see anything when I pvs .
this is an iscsi lun onced it was connected.
iscsiadm -m session has no session
I deleted /etc/lvm/cache
fidsk -l does not show
I do not care any data, I want to disconnect this /dev/sdd
ASKER CERTIFIED SOLUTION
Avatar of Sandy
Sandy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i did not try this, but disconnected all nic cables