Solved

/dev/sdd in linux

Posted on 2014-03-14
6
340 Views
Last Modified: 2014-03-21
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?
0
Comment
Question by:sara2000
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:savone
ID: 39930464
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*
0
 

Author Comment

by:sara2000
ID: 39930804
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
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39931183
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
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

by:sara2000
ID: 39934686
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
0
 
LVL 13

Accepted Solution

by:
Sandy earned 500 total points
ID: 39936679
did you tried executing below command

#echo 1 > /sys/block/sdd/device/delete

Please check and let us know


TY/SA
0
 

Author Closing Comment

by:sara2000
ID: 39945982
i did not try this, but disconnected all nic cables
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question